Announcements
Hello Team,How to find currently gallery number.23 I'm able to find using of the current row.How to find 1 (Gallery numbering)Thanks,Raj
@Anonymous To add the row number to a gallery you would need to use Collections. Here's an example of how to do it.
https://matthewdevaney.com/powerapps-collections-cookbook/add-a-row-number-column-to-a-collection/After applying the technique you would access the row number using this code.
ThisItem.RowNumber
---Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Hello @mdevaney here I'm not parching any values.all the data are coming from backed.Thanks,Raj
@Anonymous Exactly. Your back-end does not have this information so you must Collect the data then Patch a row number.
you can use the below code :
ClearCollect(myBoardGames5,{Game: "Monopoly"},{Game: "Clue"},{Game: "Scrabble"},{Game: "Backgammon"},{Game: "Chess"});
Collect(myBoardGames6,ForAll(Sequence(CountRows(myBoardGames5)),{myRecord: Last(FirstN(myBoardGames5,Value)),RowNumber: Value}));
And bind myBoardGames6 to your galary .solution reference :https://www.matthewdevaney.com/powerapps-collections-cookbook/add-a-row-number-column-to-a-collection/
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 342 Super User 2026 Season 2
M Bilal Khan 271
Mohsin Ali 239