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 / Compare Collection Tit...
Power Apps
Answered

Compare Collection Titles to Column Text and Display Result Column

(0) ShareShare
ReportReport
Posted on by 10

Hello, 

 

I am trying to create an app that allow users to input some selections of things they would like to do, and then the app displays some potential technologies. The users would make their selections here:

 

samdean332_0-1622645089325.png

 

I created a large table in Python that contains all possible combinations of choices pre-scored and the technologies associated: 

samdean332_1-1622645156958.png(I can remove commas and stuff if needed)

 

Now, where I am getting confused is how to compare a given set of selections to the Choices and subsequently display the technologies associated with that Choice. From looking around, it looks like this should be a simple If statement like:

 

samdean332_0-1622647723976.png

 

I could see that it could be a Match or MatchAll function as well. But, how do you use Collections as a reference to a table? Can you use a collection as a single set? And, equally as importantly, how do you display output in PowerApps? Is there a show/print type function, or do you have to send results to an Object to display?

 

Thank you and let me know if you need more info

 

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @samdean332 ,

     

    Try below formula OnVisible of the screen:

    Clear(colTemp);
    ForAll(_categorySelections As C, Collect(colTemp, {Choice: C.Value, Tech:LookUp(Table1,Choice = C.Value).Tech}))

     

    Then the colTemp table will contain all Choices and all Techs associated with the choice base on the table1.

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • samdean332 Profile Picture
    10 on at

    @v-jefferni Thank you for the help. I am not getting any errors with the formula, but how can I display the result to check if it correct? Overall, I really do not understand how to view variables, results, or debug in PowerApps. Monitor tells me success, and shows the function/data, but I do not see any of my custom "inputs"

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @samdean332 ,

     

    Sorry for the delay.

     

    You could add a Gallery with its Items property set to the collection, display column set to ThisItem.Choice.Value and ThisItem.Tech

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard