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

Notifications

Announcements

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:
I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard