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 / Match Gallary Items
Power Apps
Answered

Match Gallary Items

(0) ShareShare
ReportReport
Posted on by 224

I have 5 Galleries, varRole, varFunding, varErisa, varStateMandate, & Result.

I would like to display all matching IDs in the Result Gallery.

If one of the var Galleries is equal to NA, I don't want the match rule to apply.

I've displayed my galleries as lists for visual context with the desired 'Result':

kgiles123_1-1704293568963.png

 

Thank you for any help you can provide

Categories:
  • Verified answer
    WiZey Profile Picture
    3,023 Moderator on at

    Hello @kgiles123 ,

     

    I tried something on my side to reach the solution you're looking for. Here is my formula:

     

    With(
     {
     _list: Distinct(
     Split(
     Concatenate(
     Concat(
     cltScreenTable_1;
     Value;
     ";"
     );
     ";";
     Concat(
     cltScreenTable_2;
     Value;
     ";"
     );
     ";";
     Concat(
     cltScreenTable_3;
     Value;
     ";"
     );
     ";";
     Concat(
     cltScreenTable_4;
     Value;
     ";"
     )
     );
     ";"
     );
     Value
     )
     };
     Filter(
     ForAll(
     _list;
     If(
     ThisRecord.Value in Distinct(
     cltScreenTable_1;
     Value
     ) && ThisRecord.Value in Distinct(
     cltScreenTable_2;
     Value
     ) && ThisRecord.Value in Distinct(
     cltScreenTable_3;
     Value
     ) && ThisRecord.Value in Distinct(
     cltScreenTable_4;
     Value
     );
     {Value: ThisRecord.Value}
     )
     );
     Not(IsBlank(Value));
     IsBlank(TextInput.Text) || Value <> TextInput.Text
     )
    )

     

    "With()" constructs a list of all distinct values from all collections.

    "ForAll()" returns all values who match all collections.

    "Filter()" removes blank values and values matching the Textinput. 

     

    You can replace the collection's name with your tables and the Textinput with "NA" and it should work fine.

     

    Don't hesitate to ask if you have any questions.

  • kgiles123 Profile Picture
    224 on at

    perfect, thank you!

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 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard