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 / Power BI export data t...
Power Automate
Unanswered

Power BI export data to Excel using Power Automate

(0) ShareShare
ReportReport
Posted on by 2

Dear community,

 

I needs some help as I can't seem to solve an issue I have with date format.

 

I've create a Power BI report with a table visual. I want to export this (filtered) data to Excel using Power Automate. I managed to do so, however I need the dates as displayed in the Power BI table visual.

When the PA flow has ran and I open the Excel, I get the date minus 1 hour. The problem is (the most current example) the date shows 4-11-2022 in the table visual and in the Excel exort is shows 3-11-2022 23:00. This is the PA flow:

 

NvanOort1_0-1668180855838.png

 

I know Power BI uses the PC regional setting but it seems like it uses standard UTC and does minus 1 hour because of the my local time.

 

I've doen several things to try and get the date from the visual, such as:

- Changing regional settings (in Power BI options);

- Changing data type to 'Date' instead of 'Date/time' in report page;

- Changing data type in Power Query;

- Splitting the column into date and time seperately.

 

Nothing seems to work. When I try exporting the table visual manually from Power BI service, I get the date I want without the time. It seems that the 'Run a query against a dataset' automatically convert the date to the ISO-8601 format (I found this in the PA flow log). I can't find anywhere online how to prevent this from happening.

 

Does anyone have an idea and/or solution for this? It would help me big time.

 

Kind regards.

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at
    however I need the dates as displayed in the Power BI table visual

    How is the column defined in Power BI?  DateTime or DateTimeZone ?

  • NvanOort1 Profile Picture
    2 on at

    Hi Ibendlin,

     

    In the Power Query the column is by default defined as Date/Time:

     

    NvanOort1_0-1668412055316.png

     

    I have changed the date type here to different options. However none gave me the desired result...

    It has to do with the timezone as, for example, '22-7-2019 00:00:00' will be displayed as '21-7-2019 23:00:00' in the Excel export.

     

    I also messed with the options in the report view. This did not help either.

    NvanOort1_1-1668412238004.png

     

    Kind regards.

     

  • johnnylo Profile Picture
    20 on at

    There is an expression in Power Automate called convertFromUtc() in which you provide your local time zone name.  You might need to add a Select action so you can map the field and use the expression.  Hope it helps.

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard