This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi,
Is there any way, in a calculated column or measure, to bold the text if some condition takes place.
Say, if the length of the string is lower than 10, use bold charachters?
Doesn't have to be bold, could be any other way that will make the text stand out.
Thanks.
Solved! Go to Solution.
If the string is in a measure you can do it. In my example [Month_Name] is a measure
Month_Name = SELECTEDVALUE( Dates[Month Name] )
Then I have another measure for the formatting
Month Name Format = IF ( LEN ( [Month_Name] ) <= 5, "Red" )
That gets applied to the [Month_Name] measure.
If the string is in a measure you can do it. In my example [Month_Name] is a measure
Month_Name = SELECTEDVALUE( Dates[Month Name] )
Then I have another measure for the formatting
Month Name Format = IF ( LEN ( [Month_Name] ) <= 5, "Red" )
That gets applied to the [Month_Name] measure.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 28 | |
| 23 | |
| 22 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 35 | |
| 29 | |
| 23 | |
| 22 |