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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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
Anonymous
Not applicable

Hi @Anonymous ,

 

Something like below?

1.PNG2.PNG

Check

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

3.PNG4.PNG

 

Best Regards,

Jay

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

 

Something like below?

1.PNG2.PNG

Check

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

3.PNG4.PNG

 

Best Regards,

Jay

Anonymous
Not applicable

@Anonymous 

 

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.