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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Color Formatting on Matrix

 

I created a matrix with a with two row labels, product category and product and the two values (Capacity and On Hand) in the snapshot. I want to use one color for the product category and the corresponding values and another for the products and the corresponding values when the the dropdown is clicked. Thanks

 

 

 

 

 

 

Capture.PNG

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

Hi @Anonymous ,

 

Something like below?

1.PNG2.PNG

Check

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

3.PNG4.PNG

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

5 REPLIES 5
v-jayw-msft
Community Support
Community Support

Hi @Anonymous ,

 

Something like below?

1.PNG2.PNG

Check

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

3.PNG4.PNG

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
Anonymous
Not applicable

@v-jayw-msft 

 

This is exactly what i need. Thank you so much.

parry2k
Super User
Super User

@Anonymous not sure what you are referring to when the dropdown is clicked? Can you provide a bit more context about what you are looking for?



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.

Anonymous
Not applicable

@parry2k 

 

I'm sorry if i wasn't clear enough.  The snaphot below is what you see before clicking on the plus sign in a square found to the left of each product. My previous snapshot shows what it looks like when the plus sign has been clicked to view the products belonging to each product category. What i want is to use a different font color for each, one for product category labels and values then another font color for the product types and corresponding values when the dropdown is clicked. I hope this answers your question.Capture.PNG

 

 

 

 

 

 

Hi @Anonymous ,

 

You can try this.

 

Measure = 
SWITCH(
    true(),
    ISINSCOPE(Product[ProductName]), 1,
    ISINSCOPE(Product[Product[Category]),2
)

 

 

1.jpg2.JPG3.JPG

 

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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