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 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.

 

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

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 Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Top Solution Authors
Top Kudoed Authors
Users online (2,234)