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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi!
I want to bold certain part of a text that I have created a meassure from the selected values based on filters.
Eq: 2019/2020 Crocin(ESS) Threshold 77,072 Total Consumed. As you see ESS and the numbers are in Bold , how would I achieve that.
My Dax Meassure is :
Solved! Go to Solution.
Hi @Miska ,
Create the HTML table like this:
Then create measure, and put the measure into HTML Content or HTML Text Styler visuals.
Measure =
var selectedYear = SELECTEDVALUE('ADMS Outage Repair PROD'[Outage Reported Date].[Year])
var ny = selectedYear + 1
return
MAX('HTML'[Body1]) &
CONVERT(selectedYear, STRING) & "/" & CONVERT(ny, STRING) & " Crocin (" &
MAX('HTML'[Body2]) & "ESS" &
MAX('HTML'[Body3]) & ") Threshold " &
MAX('HTML'[Body2]) & [FY Threshold] &
MAX('HTML'[Body3]) & " Total Consumed" &
MAX('HTML'[Body4])
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Miska ,
Create the HTML table like this:
Then create measure, and put the measure into HTML Content or HTML Text Styler visuals.
Measure =
var selectedYear = SELECTEDVALUE('ADMS Outage Repair PROD'[Outage Reported Date].[Year])
var ny = selectedYear + 1
return
MAX('HTML'[Body1]) &
CONVERT(selectedYear, STRING) & "/" & CONVERT(ny, STRING) & " Crocin (" &
MAX('HTML'[Body2]) & "ESS" &
MAX('HTML'[Body3]) & ") Threshold " &
MAX('HTML'[Body2]) & [FY Threshold] &
MAX('HTML'[Body3]) & " Total Consumed" &
MAX('HTML'[Body4])
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Works like a charm.Thanks.
@Miska , I doubt you can do that.
But if can convert this to HTML code, the HTML content might help . They have given some example on the link too
https://appsource.microsoft.com/en-us/product/power-bi-visuals/wa200001930?tab=overview
User | Count |
---|---|
98 | |
76 | |
76 | |
48 | |
26 |