Forum Discussion
Show Nulls when attribute is selected and show values when selected in combination with other attrib
values for company, category are not correct at higher level i mean when selected as single attribute in table, but when i drill down with brand then values are correct at that level, so aggregated values are not correct, which should be avioded , and we are using this power bI dataset as source to different dasbaords unlike sql server or azure etc.., so to aviod developers use wrong info we need to hide data at upper level.
In this case shouldn't a simple,
Do the trick?
If the information is correct when filtered via brand then this condition should ensure the validity of data.
Example of how it looks:
- Anonymous4 years agoNot applicable
can you share pbix with me, i tired similar method but its not working for me
- Anonymous4 years agoNot applicable
how about if i have to drilldown by company and brand?
- ValtteriN4 years ago
Community Champion
If the data is correct only with those two drilldowns in place then,
IF(and(ISFILTERED('Matrix example'[Brand]),ISFILTERED('Matrix example'[Company])),SUM('Matrix example'[Value]),"")
Should do the trick.
Then to get this to work in a matrix you can use Brand as a column and Company as a row:- Anonymous4 years agoNot applicable
Thanks ValtteriN i tired this, but unfortunately my client wants it to have both in columns with filtering in both directions..
thank you so much..
thanks,
Geetha.