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:

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:

Maybe there are special visuals for that that I am not aware of?
Thank you
You can apply conditional formatting to almost any visual now, you can find it in a "hidded" menu, but what you ask is not possible, the whole string will be colored. Have a look at the custom visuals in the marketplace, maybe you will find something that helps you.
For the conditional formatting of the card visual: Formatting -> Data label -> Color (hover it, and 3 dots will appear on the right, there you will find the conditional formatting)

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With