Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
I am trying to email a report with the help of PowerAutomate using the action Export To Files for Power BI Reports (more info can be found here )
that is how the action looks like with a filter (TableName/ColumnName)-
In history -
The reports I am getting are empty, without any data. What is missing here?
I had tried even with one filter but that is also not working with same result, i am using sql as backend
Make sure that when you published the report, there were't any filters applied (ie clear the filter). Otherwise the default filter applies aswell as what you are applying in the power automate flow and you will get no result.
@AmosHersch - I have tried this earlier. In my case when I use Page Level filters then my report looks like this -
when I use filters in the query string, it's completely different. I can see data in the blank fields as well. Here is the query string(data source is CDS)-
https://app.powerbi.com/groups/grouo_guid/reports/report_guid?filter=cr60a_CostTreeDetail/cr60a_subm... eq 'f57e5f3f-25c8-4a6e-9c35-66940895564a'
https://app.powerbi.com/groups/grouo_guid/reports/report_guid?filter=cr60a_CostTreeDetail/cr60a_subm... eq 'f57e5f3f-25c8-4a6e-9c35-66940895564a'
https://app.powerbi.com/groups/grouo_guid/reports/report_guid/ReportSection9a330f02804c7ab90fd0?filter=CostTreeDetail/cr60a_submissionid eq 'f57e5f3f-25c8-4a6e-9c35-66940895564a'
In the filter string I have tried both options- The internal name of the table and column and the display name.
@mokumar I can't tell why it's not working for you in the API, but as I said whatever works in the URL query string (same table name/column name, filter value) is expected to work in the export API, and the report page should look the same as in the portal.
Hi @mokumar ,
When such issues happen it's most of the time has to do with the filter string itself.
The best way to sort out what's wrong in open the same report in Power BI portal, append the same filter string to the browser URL as explained here: https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters
Once you get it to work as expected, the exact same string (without the "?filter=" part, and no need for the URL encoding, only special characters if exists) should work when you export through Power Automate.
my url filter Clusterdaily/RecordDate%20gt%202023-12-23T00:00:00Z%20and%20Clusterdaily/Cluster%20eq%20'01-C'
is working fine but not working when i am using it in export through power automate
Clusterdaily/RecordDate gt 2023-12-23T00:00:00Z and Clusterdaily/Cluster eq '01-C'
I donyt think you can use multiple filters when exporting PBI via PowerAutomate
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
2 | |
2 | |
1 | |
1 |