web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sending an HTML-render...
Power Automate
Unanswered

Sending an HTML-rendered table with hyperlink columns from Power BI

(1) ShareShare
ReportReport
Posted on by 2
Hi everybody.
 
I have been struggling for quite some time on building up an HTML-rendered scheduled cloud flow that takes data queried from a Power BI table and renders it into an email. Specifically, the missing part here is that there are some columns that are hyperlinks, and the table renders them as text within the email, making the table lenghty.
 
I have been trying to troubleshoot from multiple perspectives: cahnging the Power BI to read web URL's with an icon, and then; on Power Automate, I have been trying to set up a data operation with a variable name and an array appending to change the column; but the dynamic content is never able to reach the columns to apply certain transformations on them before transforming into HTML to embed the tables into an email. For your own simplicity, this is how the current flow looks like without the data transformation, which would work well if there were no URL columns:
 
 
What I have been trying is something that generally speaking, can be achieved using a flow similar to the following (example from an automated Power Automate button, not a scheduled cloud flow). The problem is that with the aforementioned case, there is no way to iterate over the columns using dymanic content, by any mean; while in this, it is possible thanks to calling in the "Apply to each" the call to triggerBody()?['entity']?['Power BI values'].
 
 
For you to see the issue, now this is the current output:
 
By any chance would someone have any practical advice on how to transform the specific column which is a URL into a shortned hyperlink? It would mean life to me!
 
 
Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at
    1. Run a DAX query that contains all the data you need (rather than running two queries)
    2. Create your HTML table manually from the FirstTableRows of the query output. Inject the link code as needed.
  • WillPage Profile Picture
    2,307 Super User 2025 Season 2 on at
    You may need to substitute out the HTML character entities with their actual characters to get the clickable links to work. Try this expression:
     
    replace(replace(replace(body('Create_HTML_table'), '&lt;', '<'), '&gt;', '>'),'&quot;','\"')

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard