Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I want my table to show blank if no selection was applied. I tried ISFILTERED and HASONEVALUE but they all keep giving the same results:
Solved! Go to Solution.
Hi @Maha1 ,
I can give you an example, here is my sample data:
You need to build another table for slicer:
There is no relationship between tables:
Use this DAX to create a measure:
Measure =
IF(
ISFILTERED(Slicer[Slicer]),
IF(
MAX('Table'[ID]) IN VALUES(Slicer[Slicer]),
1,
0
),
0
)
Please follow the screenshot below to set up:
The final output is as below:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Maha1,
Try BLANK() instead of 0.
----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)
Proud to be a Super User! | |
the same thing, all results with blank
I'm confused, I thought you said you wanted blanks.
Proud to be a Super User! | |
I want the whole table to be empty if no selection was applied
Hi @Maha1 ,
I can give you an example, here is my sample data:
You need to build another table for slicer:
There is no relationship between tables:
Use this DAX to create a measure:
Measure =
IF(
ISFILTERED(Slicer[Slicer]),
IF(
MAX('Table'[ID]) IN VALUES(Slicer[Slicer]),
1,
0
),
0
)
Please follow the screenshot below to set up:
The final output is as below:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
145 | |
87 | |
66 | |
51 | |
45 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |