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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.