Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Friends :
I am having problems in identifying the level at which the matrix has been expanded. I have tried isfiltered, hasonevalue, distinctcount etc.. but noting seems to work. What i have observed is that if the lower levels of hierarchy have more than 1 values, the above functions work properly, but if the lower levels have only 1 value, the functions return incorrect value. Please see the screenshot below :
For the first value the lower levels has only 1 value in the hierarchy so in the first row the values are coming for filt_csm, filt_rsm even though the matrix is at level 1. this happens even if the matrix is collapsed at level 1.
Does anyone have an accurate solution to identify at which level in the matrix I am using dax, so that i can show different measures at different levels.
Sanjay Shah
Solved! Go to Solution.
Hi @Sanjay_Shah
ISINSCOPE returns true when the specified column is the level in a hierarchy of levels
Hi @Sanjay_Shah
ISINSCOPE returns true when the specified column is the level in a hierarchy of levels
yes, isinscope resolved the issue. thanks a ton.
in you format pane try to use the stepped layout for the matrix it will show the categorized feilds in the table then.
Learn Power BI free:
https://analyticpulse.blogspot.com
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
75 | |
54 | |
38 | |
31 |
User | Count |
---|---|
99 | |
56 | |
50 | |
42 | |
40 |