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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
suneelkethagani
Frequent Visitor

Conditional Formatting with Concatenated Text Values

Hi everyone,

 

I have a question, for below the Matrix Chart I need conditional formatting. For Project ID "Pr2" in Apr-22, I have values M2, M3 and M4. I need conditional formatting for that type of values, if it has multi in each cell. For M2 I need Red Color for M3 and M4 I need Green Color.

 

Can you please suggest me the DAX Code?

 

Thanks in Advance...

Matrix in Power BI.PNG

3 REPLIES 3
Jitendra_Soni
New Member

I would also like to know the solution of this.

 

Mikelytics
Resident Rockstar
Resident Rockstar

Hi @suneelkethagani 

 

Unfortunately it is only possible to format a cell as a whole and not the single objects within a cell.

 

Best regards

Michael

-----------------------------------------------------

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

Appreciate your thumbs up!

@ me in replies or I'll lose your thread.

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

Hi @suneelkethagani 

a small additional comment to make it complete. You can do formatting with DAX using the FORMAT() function in general (like formatting into percentage). But **bleep** does not include color-coding.

 

Best regards

Michael

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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