Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a matrix table with a field coming from dimension table and other 2 fields coming from fact table.
I want a measure which will be visible only in subtotals and grand total level .
When i drill down to lower levels i want them to be empty like the following
Dept Revenue
Market 100000
John blank
Maria blank
Bar 200000
Smith blank
David blank
I have tried if isinscope but does not work.
Solved! Go to Solution.
Hi @n3ptune ,
I again tried to replicate with the following data:
In this scenario for Category A we have only one sub category A1. I have created the following measure:
Value_Total = IF(ISFILTERED('Table'[Level 2]),BLANK(),sum('Table'[Value]))
Please accept this as a solution if your question has been answered !!
Appreciate a Kudos 😀
Hi @n3ptune
please try isinscope DAX as explained in this video
Thanks & Regards,
Mohammed Adnan
Learn Power Platform from my YouTube Channel TAIK18 click on the name
Hi @n3ptune ,
I again tried to replicate with the following data:
In this scenario for Category A we have only one sub category A1. I have created the following measure:
Value_Total = IF(ISFILTERED('Table'[Level 2]),BLANK(),sum('Table'[Value]))
Please accept this as a solution if your question has been answered !!
Appreciate a Kudos 😀
@n3ptune , Can you share the formula /measure?
Assume revenue is measure
You should try like a new measure like
if(isinscope(Table[Dept]), [revenue], blank())
Hi @n3ptune ,
I tried replicating the scenario. Here is the data used in this case:
I created another measure as shown below:
Value_Total = IF(HASONEVALUE('Table'[Level2]),BLANK(),sum('Table'[Value]))
Please accept this as a solution if your question has been answered !!
Appreciate a Kudos 😀
Yes this is what i tried also as simple example and it works but in my case there is a category which has ONLY one value as subcategory and this is where its breaking.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
96 | |
92 | |
82 | |
70 | |
64 |
User | Count |
---|---|
115 | |
106 | |
96 | |
81 | |
72 |