cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
giramswa
Helper II
Helper II

Is it possible to change font color for only a part of the string in Matrix value cell of power bi?

I have a dax expression where I am concatenating strings with other dax measures.

Net WP = 
    "Net Written Premium " 
    & FORMAT([CY YTD],"$#,##,,.0M") 
    & " vs. " & FORMAT([PY YTD],"$#,##,,.0M") 
    & " " & MAX(dim_Date[Year]) -1 
    & " "& [Net Wr Premium YOY Title]
Result look like this:
giramswa_0-1657707835305.png

Is any way I can change the font color for only the last part of the string? ([Net Wr Premium YOY Title])

so it should look like this:

 
giramswa_2-1657707901149.png

 

 

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @giramswa 

 

Not yet. This is because the font format is valid for the entire measure.

vzhangti_0-1658131228005.png

The same color format applied to the whole would look like this.

vzhangti_1-1658131262939.png

 

Unfortunately, power BI is now unable to achieve what you need . You can submit an idea for it at https://ideas.powerbi.com/forums and wait for users with the same needs as you to vote for you to help make it happen as soon as possible.

 

Best Regards,

Community Support Team _Charlotte

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

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @giramswa 

 

Not yet. This is because the font format is valid for the entire measure.

vzhangti_0-1658131228005.png

The same color format applied to the whole would look like this.

vzhangti_1-1658131262939.png

 

Unfortunately, power BI is now unable to achieve what you need . You can submit an idea for it at https://ideas.powerbi.com/forums and wait for users with the same needs as you to vote for you to help make it happen as soon as possible.

 

Best Regards,

Community Support Team _Charlotte

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

amitchandak
Super User
Super User

@giramswa , You can do that only when you write it in the text box (Enable Q&A) and then try.

 

In title, card, etc you can not

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors