Forum Discussion
Anonymous
3 years agoNot applicable
FILTER for a table using values coming from different tables
Dear all,
I'm trying to create a filter which I can apply on a report. Basically I'm looking
to get all Service Order No's <300'000 and then another filter to get all >300'000.
to get all Service Order No's <300'000 and then another filter to get all >300'000.
Unfortunately I'm getting for the moment an error message.
All inputs are more than welcome.
- Einzel Filter = FILTER('Service Order','Service Order'[Service Item No_]<300000)
2 Replies
- PaulDBrown
Community Champion
The FILTER function returns a table of values; a measure needs to return a scalar value. What you can do is create the measure as you have it wrapped in COUNTROWS(). This will return a value of 1 for every row in the table created by the FILTER expression. You can then add this measure to the filter pane and set the value to equals 1 and the visual will show the rows you need.
- AnonymousNot applicable
Hello,
Thanks a lot for the input regarding - Countrow - this works fine. I unfortunately don't understand the following part.
As moving the Measure to the fiter pane is not working for me.- You can then add this measure to the filter pane and set the value to equals 1 and the visual will show the rows you need.