Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
table visual
measure slicer
measure slicer
filter on single value
filter on a single value
filter on multiple values
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)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |