Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
4 | |
4 | |
4 | |
4 | |
4 |