Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
rgouette
Helper II
Helper II

How to present this data(URL's & text) from SQL into a visual?

I have a SQL column that could contain any #of web links, and text.

I am trying to display this in a single Powerbi field, but with no looping capability, no recognizing HTML tags, and with the "Web URL" Data Category turning everything in the field into one URL, I'm failing...

 

I'd like the PowerBi result to look like:

rgouette_0-1754660207003.png

 

An example of the SQL:

<p><a href="https://hislaboratory.sharepoint.com/:w:/r/sites/JMCRSIT/_layouts/15/Doc.aspx?sourcedoc=%7BF51AC40D-18FF-4EB1-A4F5-9AD2D0ECC066%7D&amp;amp=&amp;file=TrainOps%20KB%20article.docx&amp;action=default&amp;mobileredirect=true" title="https://hislaboratory.sharepoint.com/:w:/r/sites/JMCRSIT/_layouts/15/Doc.aspx?sourcedoc=%7BF51AC40D-18FF-4EB1-A4F5-9AD2D0ECC066%7D&amp;amp=&amp;file=TrainOps%20KB%20article.docx&amp;action=default&amp;mobileredirect=true" target="_blank">VideoLink</a></p><p>The tumor shows glandular formation consistent with moderately differentiated adenocarcinoma. Immunohistochemical staining for mismatch repair proteins is intact, suggesting microsatellite stability. </p><p>Recommend correlation with clinical and radiologic findings and consideration for surgical resection.</p><p><a href="https://www.google.com/" title="https://www.google.com/" target="_blank">Google</a></p><p>Some more fancy text…</p><p></p><p></p><p></p>

 

Any help/advice is appreciated..

~Rich

1 ACCEPTED SOLUTION

Did this not work @rgouette ?


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

8 REPLIES 8
V-yubandi-msft
Community Support
Community Support

Hi @rgouette ,

Thank you for providing the details. Since you want to display multiple clickable links and formatted text from a single SQL column, it’s important to note that Power BI’s standard visuals cannot render HTML content. If you set the Web URL data category, the entire field will become one hyperlink, which may not suit your needs.

 

As @MFelix , mentioned, using a custom visual such as the HTML Viewer from AppSource is a good solution. This visual can read HTML tags directly from your SQL data and display them correctly in your report.

 

After importing the visual, bind your column to it, and it should display your content with the intended links and formatting.

 

Thanks for your response @MFelix .

 

Regards,
Yugandhar.

rgouette
Helper II
Helper II

trying to decipher. for my application.. much appreciate the new angle on this!

MFelix
Super User
Super User

Hi @rgouette ,

 

Have you tried an HTML viewer visualization:

 

https://appsource.microsoft.com/en-us/marketplace/apps?search=html%20viewer&page=1&product=power-bi-...

 

This can help you on what you need.

MFelix_0-1754668227162.png

 




Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



How did you get the crlf in there? mine is one block..

Hi @rgouette 

 

I copied the syntaax you sent on the post and just used it directly.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



I just realised they're paid solutions, so that won't work in this instance, thanks much though.

SamWiseOwl
Super User
Super User

Hi @rgouette 

This might get you started:

SamWiseOwl_0-1754667613690.png

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Did this not work @rgouette ?


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors