This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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 April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 25 | |
| 21 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 62 | |
| 34 | |
| 33 | |
| 24 | |
| 23 |