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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
coatsy35
Helper I
Helper I

Matrix Formatting Issue

Having some trouble formatting my Matrix. When it is fully collapsed I would like all the text to dissapear on certian columns. I have it nearly there when all but one are collapsed, howver when you collapse the last one, all the text reappears.

 

Nearly correct, howver when this last set is collapsed, the text comes back

Nearly Right.png

Completely collased all the text reappears

Fully Closed.png

 

Does anyone have any nifty work arounds for this? as I don't want one line of a multiline order being shown when they are collapsed.

 

Also my account name is not looking up, it has a relationship setup between a customer table and the advice notes table and If I put the above data into a table visualisation it looks up the correct account name, where as currently in a Matrix, it looks up the first account name in the list or the last account name, how do you get it to keep the account name with the correct account number?  

 

Account name.png

 

Any help greatly appreciated

 

1 ACCEPTED SOLUTION
v-jiewu-msft
Community Support
Community Support

Hi @coatsy35 ,

Based on the description, try using following DAX formula and set the column conditional formatting.

Measure = IF(ISINSCOPE('Table'[Number]), 1, 0)

vjiewumsft_0-1728379225746.png

vjiewumsft_1-1728379239211.png

vjiewumsft_2-1728379243249.png

Besides, you can also raise a new idea and add the comments there to make the feature coming sooner.

Home (microsoft.com)

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-jiewu-msft
Community Support
Community Support

Hi @coatsy35 ,

Based on the description, try using following DAX formula and set the column conditional formatting.

Measure = IF(ISINSCOPE('Table'[Number]), 1, 0)

vjiewumsft_0-1728379225746.png

vjiewumsft_1-1728379239211.png

vjiewumsft_2-1728379243249.png

Besides, you can also raise a new idea and add the comments there to make the feature coming sooner.

Home (microsoft.com)

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

parry2k
Super User
Super User

@coatsy35 you can use ISINSCOPE function to find out where you are in hierarchy and then tweak the measure accordingly. Check more here Choosing Between ISFILTERED and ISINSCOPE: Power BI DAX Functions (youtube.com)



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Which part are you referring to? the text display or the account names not matching up? Could you give me some context please if you are able. Not sure how I would alter what I have to accomodate it.

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.