web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / not sure how to ask th...
Power Apps
Answered

not sure how to ask this question

(0) ShareShare
ReportReport
Posted on by 62

I have no idea how to ask this question.

 

I have a table that has 4 columns that I need to split and create one collection to show in a nested gallery.

 

I can split the 4 columns into a collection with this formula:

 

 

ClearCollect(weekCol, {Position: Split(ThisItem.Position_x0020_Training, ";"), Location: Split(ThisItem.Training_x0020_Location, ";"), 'Location Name':Split(ThisItem.Location_x0020_Name, ";"), Trainer: Split(ThisItem.Trainer, ";")})

 

 

 

And I get this:

 

scriptjet_0-1625319959310.png

 

Now I would like to get that (^) to where the tables are individual records instead of tables to display in a nested gallery.

 

LocationLocation NamePositionTrainer

Location Table Record 1

Location Name Table Record 1Position Table Record 1Trainer Table Record 1
Location Table Record 2Location Name Table Record 2Position Table Record 2Trainer Table Record 2
Location Table Record 3Location Name Table Record 3Position Table Record 3Trainer Table Record 3

 

Might be an issue, but the 4 columns may have a different number of splits.  i.e. Location may have one record, where position has 2 or 3 records.

 

Thoughts?

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @scriptjet 

    Are you dealing with a one to many relationship in a single table?  If so, the better approach is to use separate tables with the ID of the parent table as a foreign key in the child tables.  

  • Verified answer
    scriptjet Profile Picture
    62 on at

    i ultimately just separated the records so there is no need for the split... then i used groupby with the filter the get the nested gallery i needed.

     

    thanks for the help

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard