Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I have a dynamic string to show values based on swtich statements. I need to format the value to be bold and different color.
to
Below is the dax code : Please advise on code to format the color and bold as above.
Solved! Go to Solution.
There are several HTML visuals available that might help, e.g. HTML Text Styler or HTML content. HTML Text Styler for example, in HTML Text Styler, the measure below will create this output:
You can find a demo report for HTML Text Styler here: Bold, italic, underline etc. in Power BI - BI Samurai
and here Format positive and negative values in Power BI - BI Samurai
HTML Content has a demo here: Simple Worked Example | HTML Content - Custom Visual for Power BI (html-content.com)
Good luck!
There are several HTML visuals available that might help, e.g. HTML Text Styler or HTML content. HTML Text Styler for example, in HTML Text Styler, the measure below will create this output:
You can find a demo report for HTML Text Styler here: Bold, italic, underline etc. in Power BI - BI Samurai
and here Format positive and negative values in Power BI - BI Samurai
HTML Content has a demo here: Simple Worked Example | HTML Content - Custom Visual for Power BI (html-content.com)
Thank you for the solution.
i downloaded the HTML visualization . While few available not displaying the results on Cloud service . HTML text styler does display the expected solution.
How ever i still need it to approved by my organization and needs licensing.
Thanks again!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
8 | |
3 | |
3 | |
3 | |
3 |