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, I have a report with two measures, without drill down I have to show Measure 1 and when drilling down Measure 1 and Measure 2. I can set values to 0, but want to hide the series, so it doesnt show neither the data or the legend unless I'm drilling down.
Any idea of how can I achieve this?
Thank you!
Solved! Go to Solution.
Hi @Anonymous,
You can set the values to BLANK(). Please refer to my test below.
M 1 =
IF (
HASONEVALUE ( DimProduct[ColorName] ),
SUM ( FactSales[SalesQuantity] ),
BLANK ()
)
Best Regards,
Dale
I personally prefer ISFILTERED vs HASONEVALUE to selectively hideshow measures but either will work in most cases but there are a few where ISFILTERED is your only option.
Also I know of no way to selctively hide chart components but what you may want to do is have two visuals and use bookmarks to control which is displayed versus using drill down.
Hi @Anonymous,
You can set the values to BLANK(). Please refer to my test below.
M 1 =
IF (
HASONEVALUE ( DimProduct[ColorName] ),
SUM ( FactSales[SalesQuantity] ),
BLANK ()
)
Best Regards,
Dale
Thank you @v-jiascu-msft is there any way to hide the legend (M1 and M2) before drill down and make them appear on drill down?
Thanks!
I personally prefer ISFILTERED vs HASONEVALUE to selectively hideshow measures but either will work in most cases but there are a few where ISFILTERED is your only option.
Also I know of no way to selctively hide chart components but what you may want to do is have two visuals and use bookmarks to control which is displayed versus using drill down.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 57 | |
| 43 | |
| 40 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 183 | |
| 114 | |
| 93 | |
| 61 | |
| 45 |