March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
Looking for some advice. I have a report that has multiple filters applied to it via the filter panel, i also have a card visual which contains a measure that shows all the filters applied to that page, whether it be 1 or multiple from different columns.
However the problem i have is when blank is included in the selection, the card visual showing the filters does to show that blank is being selected. So in the below screenshot (Blank) and No are selected, yet the card visual only shows that No is. I need the output to be (Blank), No.
Thanks in advance.
JJ
Solved! Go to Solution.
Hi @DW868990 ,
You can use the following DAX:
measure =
var _select=SELECTCOLUMNS('Table',"1",'Table'[Group])
return
IF(
MAX('Table'[Group]) in _select &&
ISFILTERED('Table'[Group])&&SELECTEDVALUE('Table'[Group])=BLANK(),"Blank"&","&MAX('Table'[Group]),BLANK())
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @DW868990 ,
You can use the following DAX:
measure =
var _select=SELECTCOLUMNS('Table',"1",'Table'[Group])
return
IF(
MAX('Table'[Group]) in _select &&
ISFILTERED('Table'[Group])&&SELECTEDVALUE('Table'[Group])=BLANK(),"Blank"&","&MAX('Table'[Group]),BLANK())
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @DW868990 ,
Here are the steps you can follow:
1. Create measure.
measure =
var _select=SELECTCOLUMNS('Table',"1",'Table'[Group])
return
IF(
"No" in _select &&
ISFILTERED('Table'[Group])&&SELECTEDVALUE('Table'[Group])=BLANK(),BLANK(),0)
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thanks @v-yangliu-msft , its nearly there.
That works fine for when only blank is selected but if No, and Blank are both selected I need the card visual to show - Blank, No.
Thanks in advance.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |