cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
taikuri
Frequent Visitor

Power Automate flow against Power BI dataset returning incorrect amount of rows

Hey!

 

I have this query:

 

 

EVALUATE
FILTER(ExportTable,  ExportTable[Date] >= DATE(2022,7,7) && ExportTable[Date] <= DATE(2022,8,12) && CONTAINSSTRING(ExportTable[CustomerName], "CompanyName") == FALSE() )

 

 

When I run the query in Dax studio I get the correct amount of rows (42k) but when I run the same query in Power Automate, create a csv file from it and store it in SharePoint or through SFTP I get an incorrect number of rows (15k). If I run the flow month by month for the same time period I get a correct number of rows. Any ideas about what is causing the problem and what could be a solution? There are reasons why this has to be run in Power Automate and not just save the data from the DAX studio query so that is not a solution. 

1 ACCEPTED SOLUTION
taikuri
Frequent Visitor

Found a possible solution to this one. Seems like there is a row and value limit in DAX queries run in the power automate. To get further info check out this link. https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries#limitations

View solution in original post

1 REPLY 1
taikuri
Frequent Visitor

Found a possible solution to this one. Seems like there is a row and value limit in DAX queries run in the power automate. To get further info check out this link. https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries#limitations

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Kudoed Authors