Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I want to display the values only at detail level and blank at summarized level in power BI matrix
So when i collapse column C
I wanted E and F to be blank
A, B & C are from first table and D ,E ,F from second table and the two tables are joined on column A
and as shown A can have multiple values of D (that means second table has multiple instances of A) one to many relationship between 1st and 2nd table
Solved! Go to Solution.
Good. Then try
Final Measure E = IF( ISINSCOPE (Table[D] ),MINX(Table, Table[E]),IF(NOT ISEMPTY('Table'),""))
Try
Final Measure E = IF (HASONEVALUE(Table[D] ),MINX(Table, Table[E]),IF(NO ISEMPTY('Table'),""))
Then it display blank for those rows which have multiple values of column D but not for the those which have single value
Good. Then try
Final Measure E = IF( ISINSCOPE (Table[D] ),MINX(Table, Table[E]),IF(NOT ISEMPTY('Table'),""))
Hi,
I am not sure how your datamodel looks like, but I suggesting using calculated measures for describing E and F, instead of just dragging columns directly from the table.
Please try using SELECTEDVALUE DAX function.
SELECTEDVALUE function - DAX | Microsoft Learn
Hi @WTAS80486
something like
IF ( NOT HASONEVALUE ( 'Table'[D] ), [Measure E] )
IF ( NOT HASONEVALUE ( 'Table'[D] ), [Measure F )
@tamerj1 when I use this
on collapse
Then use
IF ( HASONEVALUE ( 'Table'[D] ), [Measure E] )
IF ( HASONEVALUE ( 'Table'[D] ), [Measure F )
because it is blank. Please try
IF ( HASONEVALUE ( 'Table'[D] ), [Measure E], "")
IF ( HASONEVALUE ( 'Table'[D] ), [Measure F], "" )
It becomes from this
to this
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
22 | |
11 | |
10 | |
10 | |
8 |