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

Filter not working with CDS

Hi,

 

Actually I´m trying to filter values from a Comon Data Service Table with the selected Value from a gallery. However it is not working. Rooms.Building is a table and I think the issues lays here.

 

Thanks in advance

 

error.png

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @Belasor ,

 

Filter function evaluates each record of table, so the right syntax of Filter function should be like this.

Filter('TableName', ColumnName= "Value")

 

Please try to modify your code as follows:

GroupBy(Filter(Rooms; Building=Gallery3.Selected.Name);"new_floornumber";"Floors")

Hope this helps.

Sik

View solution in original post

2 REPLIES 2
Super User III
Super User III

Try remove Rooms.Building and make it Building.


Also Can you give further explanation?

Are filtering a Gallery from another Gallery

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

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.

 

Community Support
Community Support

Hi @Belasor ,

 

Filter function evaluates each record of table, so the right syntax of Filter function should be like this.

Filter('TableName', ColumnName= "Value")

 

Please try to modify your code as follows:

GroupBy(Filter(Rooms; Building=Gallery3.Selected.Name);"new_floornumber";"Floors")

Hope this helps.

Sik

View solution in original post

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

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

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Kudoed Authors
Users online (38,419)