Forum Discussion
StevenB
7 years agoRegular Visitor
Rendering a measure as HTML
I have created a PBI measure that dynamically generates a 'mailto:' link based on the selections and results on a given report page. However, I can't find a way to render the measure as html on a rep...
- 7 years ago
Hi StevenB,
You can do it simply like this. No HTML tags are needed. Reference: power-bi-hyperlinks-in-tables.
Measure = "mailto:" & SELECTEDVALUE(Table1[Column1])
Best Regards,
Dale
StevenB
7 years agoRegular Visitor
Ok...it looks like tables / matrices are the only visuals that support hyperlinks. I've updated the measure to function in a table context, and it's now working. It'd be nice if Card / MultiRow Card also supported hyperlinks. Sometimes you just want a single hyperlink (vs. one per row).
Pascal_KTeam
5 years agoResolver I
Hi Steven
Not sure if a custom visual is a valid option for you but with the HTML Text Styler visual, you should be able to do this. You can get the visual from AppSource: https://appsource.microsoft.com/en-us/product/power-bi-visuals/wa200002071?tab=overview
