cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Laureverett
Frequent Visitor

Split string

I am having an issue splitting my collection of Brands. I have tried Split(BrandDropCollect.Result,",") along with other variations but I am not able to get the function to work. I was testing using a data table to see if I could get anything to work. Any advice on how to split a collection or just a SharePoint list column? I feel like I am missing something very trivial.

 

Here is what my collection looks like at the moment..

brands.PNG

1 REPLY 1
Drrickryp
Super User
Super User

Hello @Laureverett,

I think you are missing something quite basic.  Your list shows a classical database design flaw, one that MS Access uses as an example.  You have combined products with suppliers in one table.  Your list should probably be split into at least two lists, with a one to many relationship between them.  Please see the photos below for an explanation.  In Sharepoint, you can use the ID of one table as the connection (Lookup) to the second table by including it as a Foreign key.  Capture.PNGCapture2.PNGCapture.3.pNGFor more information about database design, please see https://support.office.com/en-us/article/database-design-basics-eb2159cf-1e30-401a-8084-bd4f9c9ca1f5

While it is written for MS Access, the principles it describes are universal and will help you design your Powerapps.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,367)