The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
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.
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
20 | |
17 | |
15 | |
13 |
User | Count |
---|---|
42 | |
36 | |
25 | |
22 | |
18 |