cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Belasor
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
v-siky-msft
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
eka24
Super User
Super User

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.

 

v-siky-msft
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

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (1,617)