Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi everyone -
I am trying to use the text values from a measure in a slicer on my table visual. I created a separate table called "Category" that holds the possible text values from the measure and am able to filter the visual one at a time using the following formula on my visual level filter:
Category Selection = IF(SELECTEDVALUE(Category[Value])=[Category Measure],1,0)
Is there a way to filter on multiple values?
See screenshots below with my steps.
Thank you in advance!
Table visual
measure slicer
filter on single value
filter on multiple values
Solved! Go to Solution.
Hi @jmarcrum ,
We can change the measure as following to meet your requirement:
Category Selection =
IF ( [Category Measure] IN DISTINCT ( Category[Value] ), 1, 0 )
Best regards,
Hi @jmarcrum ,
We can change the measure as following to meet your requirement:
Category Selection =
IF ( [Category Measure] IN DISTINCT ( Category[Value] ), 1, 0 )
Best regards,
what is the category measure calculation?
Proud to be a Super User!
Category Measure =
IF(ISBLANK(CBM_ROUTES_2[X_DELTA]),"not enough data",
IF([X_MAX_BW_X_FOR]<[X_AVG_DAYS_BTW_MEASUREMENTS],"Not performed often enough",
IF([X_MIN_BW_X_FOR]>[X_AVG_DAYS_BTW_MEASUREMENTS],"Performed too often","OK (within bandwidth)")))
So many times you can do something like:
VAR __Selections = 'Slicer'[Categories]
Then you can do a filter like:
FILTER('Table',[Column] IN __Selections)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
88 | |
68 | |
61 |
User | Count |
---|---|
152 | |
120 | |
102 | |
87 | |
68 |