Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
We have created a PBI report that has a direct query to a PBI dataset (this dataset has a connection to Azure SQL Database) and when we try to export it in PDF format using Power Automate we are getting an error. The report only has a table visual with a column:
I should have this output (if I do the export directly in Power Bu Service, it works fine):
Did anyone have the same issue and was able to get a solution?
Below it is described the steps followed:
1 - Set the following preview features that allows to directquery a PBI dataset:
2 - Connect to a PBI Dataset
3 - Click on the "Make changes to this model" option, add a local model and select all the tables available in the PBI dataset:
4 - Create a visual by selecting any field
5 - Save the report and publish it into a Premium Workspace
6 - Create a power automate flow that exports the report and send it by email:
The final result is always the same...
Solved! Go to Solution.
Hi @Anonymous I was able to reproduce this issue and we have deployed a fix which should be deployed to you in the next week or so. Basically the export to PDF was broken for the following scenarios:
- exporting to PDF using the Service UI for a report that has a DQ connection to a source such as Azure SQL
- exporting to PDF using the Service UI for a report that has a DQ connection to a Power BI dataset (composite on Power BI datasets)
- exporting to PDF using Power Automate for a report in a Premium workspace that has a DQ conneciton to a Power BI dataset (composite on Power BI datasets). This is your scenario.
Please check this again in a week. If the issue still persists, let me know.
Hello @jeroenterheerdt ,
I have a similar issue as @Anonymous but my case is connected to exporting the report to png file.
I've got 2 reports connected to one dataset. However, one of the report is also connected via direct query to another data source.
When it comes to exporting in P.Automate and putting it into Send Via Email V2 method, the first report works well, but the one with Direct Query not > I receive empty visuals with the message can't display the visual'.
Could u please assist?
what licence type you have? some flows need to the report be a primium capacity o per user llicence or the flow itself depending in the combination.
Proud to be a Super User!
I have Pro license and I didn't have any issues before on creating these kind of flows. This error only comes up when I'm using a report created on top of a composite model (direct query to a PBI Dataset).
since you are Pro, can you please confirm that the account you use to generate the PDF has build permissions on the dataset?
Hi @jeroenterheerdt, the account used has Admin permissions in the Premium Workspace where the Dataset is published.
Hi @Anonymous I was able to reproduce this issue and we have deployed a fix which should be deployed to you in the next week or so. Basically the export to PDF was broken for the following scenarios:
- exporting to PDF using the Service UI for a report that has a DQ connection to a source such as Azure SQL
- exporting to PDF using the Service UI for a report that has a DQ connection to a Power BI dataset (composite on Power BI datasets)
- exporting to PDF using Power Automate for a report in a Premium workspace that has a DQ conneciton to a Power BI dataset (composite on Power BI datasets). This is your scenario.
Please check this again in a week. If the issue still persists, let me know.
Hi there - seeing similar behaviour for PNG exports connected to Power BI dataset. Was the fix solely for PDF exports?
Did you ever figure this out? Running into the same issue right now.
Yes eventually I did. The key with any visual which displays data via DirectQuery is that the viewer also belongs to the workspace where that data resides. Secondly I think that workspace needs to be on premium capacity but start by ensuring you are a viewer / member of the underlying workspace
Hi @jeroenterheerdt ,
I am encoutenring exactly this issue on a flow I am creating today. This is the third scenario you listed (with the symptoms described by the OP)
exporting to PDF using Power Automate for a report in a Premium workspace that has a DQ conneciton to a Power BI dataset (composite on Power BI datasets)
Can we expect a working fix on this?
Thanks for your help
can you please open a new issue so we can get more eyes on this?
yes, that was deployed. please open another issue if it still persists so we can investigate. thank you!
Hi @jeroenterheerdt , thank you for your fast answer. I will test it again in a week and get back to you with my feedback.
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
33 | |
31 | |
21 | |
11 | |
8 |
User | Count |
---|---|
52 | |
40 | |
29 | |
13 | |
12 |