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
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,179)