Forum Discussion
Rendering a measure as HTML
- 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
Thanks for this. I understand how to make a hyperlink work in a table, and have used it successfully elsewhere.
What I am trying to solve is when you have a single PowerBI Measure that you want to display as a hyperlink. Given the lack of documentation, I'm guessing no-one has tried to use PBI in this way.
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_KTeam5 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