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

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 IV
Helper IV

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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (34,780)