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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Union multiple 'Power ...
Power Automate
Unanswered

Union multiple 'Power BI Run a query against the dataset' step outputs without DAX UNION()

(0) ShareShare
ReportReport
Posted on by 6
My boss wants me to export the raw 'Sales' table from a Power BI dataset to a single csv file. He does not want me to aggregate this table to reduce the number of rows.
 
I am familiar with Power BI 'Run a query against a dataset' step. However, because 'Sales' is direct query and has over 1,000,000 rows, my flow runs into an error at the 'Run a query against a dataset' step.
 
I am considering writing multiple 'Run a query against a dataset' steps, filtering the Sales table by month and year to keep each query from having 1,000,000 rows. For example, I would write  'Run a query against a dataset for month 1 of year 2024,' 'Run a query against a dataset for month 2 of year 2024,' etc. Is there a way that I could union these queries together? I am familiar with the DAX UNION() function, remember that I am getting an error message when I try to export the raw direct query Sales table because it is over 1,000,000 rows. That is why I would like to use Power Automate to union multiple 'Run a query against a dataset' steps together into a single csv.
 
I am aware that after this, I will need to apply Curbal's instructions for looping through a csv to export the more than 1,000,000 rows. My main trouble is figuring out how to union the output from the 'Run a query against a dataset' steps so it is one csv that can be looped through per Curbal's instructions.
Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at
    Power BI is just a reporting tool.  Get access to the data source and extract from there directly.

    Note: Power Automate has a 100MiB message size limit.  You will not be able to do anything with the extracts anyway.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 259 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 177 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard