cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Newbie12
Helper V
Helper V

Gallery NOT displaying data in PowerApps

Hi,

 

I am using GroupBy and Filter on my Excel table column that contains space. The name of the column is "First Name". The reason I'm using Groupby is because I various rows in First Name column that are same. I have below code,but for some reason it is not displaying anything in the Gallery.

 

GroupBy(Filter(Table,Startswith('First Name',"Sm")),"First_x0020_Name","ByName")

 

Thanks in advance for suggestion or feedback!

4 REPLIES 4
Newbie12
Helper V
Helper V

Note: Above code is in Items property of the Gallery, and the Text property of tiles is set to Thisitem.'First Name'

I suggest you create a collection OnVisible of your screen:

ClearCollect(MyTable,Distinct(Table1, 'First Name'))

 

Then change the filter formula to:

Filter(MyTable,StartsWith('First Name',"Sm"))

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

Hi @eka24,

 

MyTable is returning an empty table with not results being populated with column name as Result. 

 

I checked  using View-> Collections

 

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,165)