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 Apps
Answered

help

(0) ShareShare
ReportReport
Posted on by 215

lunalovegood_0-1698982549969.png


How to display this?

Categories:
  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi, @lunalovegood 

    You can try to use the UnGroup() function to display the table field in your Table.

    And what's the field in your [Table]?

    GroupBy and Ungroup functions - Power Platform | Microsoft Learn

     

    Ungroup(ShowColumns(LessonLearned,"ActionParty") , "ActionParty" )

     

    For Example , this is my test data create in a button-OnSelect:

    Set(Data,[[{Name:"zyy",age:19},{Name:"zyy2",age:12}],[{Name:"zyy3",age:19},{Name:"zyy3",age:12}],[{Name:"zyy4",age:19},{Name:"zyy4",age:12}]]);
    Set(TestData, Ungroup(Data,"Value"));

    And we can see the detailed variable here in Power Apps :

    vyueyunmsft_0-1698983544757.png

    vyueyunmsft_1-1698983573342.png

    And we can use the Ungroup() function to get the table like this:

    vyueyunmsft_2-1698983596727.png

     

     

     

     

    Best Regards,

    Yueyun Zhang

  • lunalovegood Profile Picture
    215 on at

    it works , but i have another question , i already displayed it in gallery but what if i want to filter the gallery using combobox ? 

  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @lunalovegood 

    As the test data here in the Button-OnSeletc:

    Set(Data,[[{Name:"zyy2",age:1},{Name:"zyy2",age:2}],[{Name:"zyy3",age:3},{Name:"zyy3",age:4}],[{Name:"zyy4",age:5},{Name:"zyy4",age:6}]]);
    Set(TestData, Ungroup(Data,"Value"));

    We can use this code in the Combo box -Items :

    Distinct( TestData, Name)

     

    Then we can select the Name in this Table:

    vyueyunmsft_0-1698989366655.png

    And if we want to filter the Gallery we can create a button and use this code on the Button-OnSelect:

    Set(FilteredData2, Filter(TestData,Name = ComboBox2.Selected.Value ))

    And Then we put the FIlteredData2 in the Gallery-Items:

    vyueyunmsft_1-1698989696528.png

    Then we can filter this Gallery:

    vyueyunmsft_2-1698989708203.png

     

    If you wan to mutiple selected in Combo box , you can also try to use this code on the Button-OnSelect:

    Set(FilteredData2, Filter(TestData,Name in ComboBox2.SelectedItems ))

    vyueyunmsft_3-1698989780231.png

     

     

     

     

     

    If I misunderstand what you mean, you can describe your needs and your expected outcomes in detail so that we can better help you.


    Best Regards,

    Yueyun Zhang

     

     

     

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard