Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Power BI with Power Automate - Date format in HTML Table output


I'm new to Power Automate as of today and have managed to use the Power Automate function in Power BI to create a button that provides a list of Course Delegates and compiles a HTML table that is delivered by email (output below). The list being based on the filter applied at page level withing my Power BI Report*.


1) The report I'm working on in BI Desktop is created from a dataset in, and connected to, the Power BI Service.
2) The format of the Event Date is set to mm/dd/yyyy in the dataset and is showing as such in the connectred report.



I can set the padding and all is good apart from not being able to work out how to format the date for the Event field within the HTML Table.

How can I set the Evetn date format to dd/mm/yyyy?


Steps in the Flow are as follows.



with the following operations at Initialise Variable and Select Stages




Hope someone can help.

Super User IV
Super User IV

@antonyf , mm/dd/yyyy and dd/mm/yy are based on setting on power bi desktop

you can convert in text format MM/DD/YYYY to DD/MM/YYYY

mid(DD__MM__YY[Version_Id],4,2) &"/"& left(DD__MM__YY[Version_Id],2) & "/" & right(DD__MM__YY[Version_Id],4)

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

 thanks for your response. It sort of solves the problem, but I was hoping to identify a way be able to deal with the date once subsumed into Power Automate. I'd already converted the field into the date format required for reporting purposes in BI and was hoping to not need a text version in the dataset. That being a potential problem for end users compiling their own reports. 

My interim solution was to deal with the date in BI by creating an additional field and converting to text as follows:

 Event Date(txt)=FORMAT(cbd_delegate[Event Date], "DD-MMM-YYYY")

This solution works for now, but it would be interesting to find out if anyone can identify a route to maintaining the date format in HTML table within Power Automate.

Helpful resources

PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Top Kudoed Authors