Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! 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 April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
105 | |
68 | |
48 | |
42 | |
41 |