cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
denisbalakirev
Frequent Visitor

Problem with Gallery filtering

Greetings. I am in the process of buiding an inventory application for my company. There are multiple locations and I have made a screen for each one.

 

All the data is stored on a single table(Sharepoint List) And i want to display data for current selected location.

For example for screen M1 i want to display filtered gallery with Location(Name of my column)=M1.

 

My formula is: Filter('Cartriges Storage', Location="M01")But, gallery is empty. 

 

Maybe formula should be differnet ?

1 ACCEPTED SOLUTION

Accepted Solutions

So what kind of column is Location?

 

If it is a choice column, then you need to reference the value. 

   Filter('Cartriges Storage', Location.Value="MOW01")

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

I think is "M01" = Location or "M01" in Location, you can try it like that.

Best regard,

RandyHayes
Super User III
Super User III

What kind of column is Location? (text, choice, lookup, etc)

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Hi,

Tried both, result is same ;(

Hi RandyHayes,

 

Kind - Text.  Also, i attach screenshot with gallery and SharePoint list columns. 

So what kind of column is Location?

 

If it is a choice column, then you need to reference the value. 

   Filter('Cartriges Storage', Location.Value="MOW01")

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

View solution in original post

RandyHayes,

 

Many thanks!

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

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (19,850)