Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
WTAS80486
Helper IV
Helper IV

How to display blank at summarized level in power BI matrix

Hi,

 

I want to display  the values only at detail level and blank at summarized level in power BI matrix

 

WTAS80486_1-1680329412618.png

 

So when i collapse column C

 

WTAS80486_2-1680329540736.png

 

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

 

 

 

1 ACCEPTED SOLUTION

@WTAS80486 

Good. Then try

Final Measure E = IF( ISINSCOPE (Table[D] ),MINX(Table, Table[E]),IF(NOT ISEMPTY('Table'),""))

View solution in original post

11 REPLIES 11
tamerj1
Super User
Super User

@WTAS80486 

Try

Final Measure E = IF (HASONEVALUE(Table[D] ),MINX(Table, Table[E]),IF(NO ISEMPTY('Table'),""))

@tamerj1 

 

Then it display blank for those rows which have multiple values of column D but not for the those which have single value

 

WTAS80486_0-1680389584960.png

 

 

WTAS80486_2-1680389779673.png

 

 

@WTAS80486 

Good. Then try

Final Measure E = IF( ISINSCOPE (Table[D] ),MINX(Table, Table[E]),IF(NOT ISEMPTY('Table'),""))

@tamerj1 , It worked, Thank you so much!

Jihwan_Kim
Super User
Super User

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

 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

tamerj1
Super User
Super User

Hi @WTAS80486 

something like

 

IF ( NOT HASONEVALUE ( 'Table'[D] ), [Measure E] )

 

IF ( NOT HASONEVALUE ( 'Table'[D] ), [Measure F )

@tamerj1 when I use this

 

Final measure E=
IF ( NOT HASONEVALUE ( Table[D]), MINX(Table,Table[E]))
 
I get this when icon is expanded
 
WTAS80486_3-1680362183886.png

 


 

 

on collapse

 

WTAS80486_2-1680362147689.png

 


 

@WTAS80486 

Then use

IF ( HASONEVALUE ( 'Table'[D] ), [Measure E] )

 

IF ( HASONEVALUE ( 'Table'[D] ), [Measure F )

@tamerj1  then everything disappears when i collapse C

 

 

WTAS80486_0-1680363812842.png

 

 

WTAS80486_1-1680363836459.png

 

 

@WTAS80486 

because it is blank. Please try

IF ( HASONEVALUE ( 'Table'[D] ), [Measure E], "")

 

IF ( HASONEVALUE ( 'Table'[D] ), [Measure F], "" )

 

@tamerj1 

Final Measure E = IF (HASONEVALUE (Table[D] ),MINX(Table, Table[E]),"")
 

It becomes from this

 

WTAS80486_0-1680371105108.png

 to this

 

WTAS80486_1-1680371116549.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.