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
i have a slicer and card, now lets say if i select 2,3,4 from slicer the card should always display minimum selected value from slicer, if nothing is selected a default static text should be present.
thank you.
Solved! Go to Solution.
Hi @evano_oruvan ,
According to your description, You want to display the maximum value when selecting multiple or single choices, display "all slicer selected" when selecting all, and display "fixed text" when there is no selection.Right?
Here are the steps you can follow:
(1)This is my test data:
(2)We can create a measure: “Text”
Text =
IF (
ISFILTERED ( 'Table'[CategoryName] ),
IF (
COUNTROWS ( VALUES ( 'Table'[CategoryName] ) )
= COUNTROWS ( ALL ( 'Table'[CategoryName] ) ),
"select all ",
MIN ( 'Table'[CategoryName] )
),
"no select"
)
Then we can put the [CategoryName] field in the slice visual and put the [Text] measure in the card to test.
(3)The results as follows:
[Note] We can't use the "select all" function of the slicer to determine whether to select all. Because the built-in "select all" function is the same as the logic of not selecting.
The ISFILTER() function cannot judge the following relationship:
If this method can’t meet your needs, can you provide some special inputs and outputs so that we can help you better.
Best Regards
Hi @evano_oruvan ,
According to your description, You want to display the maximum value when selecting multiple or single choices, display "all slicer selected" when selecting all, and display "fixed text" when there is no selection.Right?
Here are the steps you can follow:
(1)This is my test data:
(2)We can create a measure: “Text”
Text =
IF (
ISFILTERED ( 'Table'[CategoryName] ),
IF (
COUNTROWS ( VALUES ( 'Table'[CategoryName] ) )
= COUNTROWS ( ALL ( 'Table'[CategoryName] ) ),
"select all ",
MIN ( 'Table'[CategoryName] )
),
"no select"
)
Then we can put the [CategoryName] field in the slice visual and put the [Text] measure in the card to test.
(3)The results as follows:
[Note] We can't use the "select all" function of the slicer to determine whether to select all. Because the built-in "select all" function is the same as the logic of not selecting.
The ISFILTER() function cannot judge the following relationship:
If this method can’t meet your needs, can you provide some special inputs and outputs so that we can help you better.
Best Regards
Hi @evano_oruvan ,
According to your description, You want to display the maximum value when selecting multiple or single choices, display "all slicer selected" when selecting all, and display "fixed text" when there is no selection.Right?
Here are the steps you can follow:
(1)This is my test data:
(2)We can create a measure: “Text”
Text =
IF (
ISFILTERED ( 'Table'[CategoryName] ),
IF (
COUNTROWS ( VALUES ( 'Table'[CategoryName] ) )
= COUNTROWS ( ALL ( 'Table'[CategoryName] ) ),
"select all ",
MIN ( 'Table'[CategoryName] )
),
"no select"
)
Then we can put the [CategoryName] field in the slice visual and put the [Text] measure in the card to test.
(3)The results as follows:
[Note] We can't use the "select all" function of the slicer to determine whether to select all. Because the built-in "select all" function is the same as the logic of not selecting.
The ISFILTER() function cannot judge the following relationship:
If this method can’t meet your needs, can you provide some special inputs and outputs so that we can help you better.
Best Regards
Hello, lets say your number 2,3,4 is ID, you can create a measure and put into the card for display the minimum selectedvalue.
thanks man, i just added max it worked any option i could add text so that if all slicer is selected it would display text as "all slicer selected".
Hi, you can try below dax measure for the all slicer selected.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 20 | |
| 12 | |
| 11 |