Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hey everyone,
I'm currently looking for a way to export data based on Filters put on the Power BI Report.
Is there any way to export the dataset after applying filters/slicers on the POWER BI REPORT?
I'm aware of this part where we can export data of a visual by clicking on three dots but I'm not looking for that.
This is for the client :
Requirement: If the user puts any slicers, then I need to add a button that can export Summarized/Filtered Data, which I need to send to either some Database(One Lake or any other) for other analysis.
Button can be outside the report inside a portal where Report is embedded or Internal inside the Power BI Report.
Please suggest some solutions. If this is not achievable, can I get the Microsoft Doc where this is listed as a limitation?
Solved! Go to Solution.
Hello @lovishsood1 ,
Thank you for the follow up.
Since this appears to be a platform level or configuration issue beyond what we can resolve locally, I recommend raising a support ticket with Microsoft Power BI Support.
When opening the ticket, it will help to include a description of the issue, steps you have taken so far and the embed configuration and environment details (like report ID, workspace, authentication method) etc.The support team can investigate further on the backend and provide more targeted help for your specific environment.
https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket
Regards,
B Manikanteswara Reddy
Hi @lovishsood1 ,
Power BI doesn’t support exporting filtered data directly to a database with a button. But here are some workarounds:
This is a known limitation. You can check the official docs here:
https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-export-data
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
1. Could you please share the process to send filtered data to OneLake using Power Automate. I cannot find direct plugin/connector inside Power Automate.
2. Please share this as well using Javascript API
Above mentioned link is not working. 404 Error is coming.
Hey @lovishsood1
Thanks for pointing that out – looks like the link broke, my bad!
Here’s a quick breakdown for both approaches:
There’s no direct OneLake connector yet, but you can work around it by:
Let me know what kind of data you’re working with – I can tailor the steps better.
You can use the Power BI JS API to:
If you want, I can share a sample script for the JS part too.
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
Can you explain Option 1 briefly?
Sure! Here’s a more detailed breakdown of Option 1: Power Automate to OneLake (filtered data):
Export Filtered Data
Store the File Temporarily
Move to OneLake
Let me know which tools you’re using (Power Automate Cloud/Desktop, Paginated Reports, etc.) and I can tailor the steps even more.
I'm preferring Power Automate Cloud and Power BI Desktop Reports.
In that case, here’s how you can approach it:
Export filtered data from Power BI Desktop
Power Automate Cloud flow
Let me know if you want help setting up the flow or the paginated report part. I can walk you through it.
I want to export data from Pie Charts or Line Charts and save it somewhere in Sharepoint or OneLake.
Hi @lovishsood1 ,
Thank you for reaching out to Microsoft Fabric Community Forum.
@burakkaragoz Thank you for your quick inputs.
To export filtered data from Pie Charts or Line Charts and save it to SharePoint or OneLake, you can use the following approaches:
Paginated Reports with Power Automate Cloud:
Then, move it to OneLake using a Notebook or Dataflow Gen2.
Power BI Embedded + JavaScript (possible in some cases):
Please note that, Power BI can’t export visual data (like Pie/Line charts) directly using Power Automate unless it's set up through Paginated Reports or Embedded scenarios.
Please refer the below documents:
Export Power BI embedded analytics reports API - Power BI | Microsoft Learn
Export data from a Power BI visualization - Power BI | Microsoft Learn
Reports - Export Report - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Power BI - Connectors | Microsoft Learn
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! |
Regards,
B Manikanteswara Reddy
Hi @v-bmanikante ,
Could you please provide me with the documentation of Power BI Embedded and what are options to export if I embed my report on customer's website?
I also want to know the list of functions I can use to export data using APIs.
I have this doc : https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-customer-app
but this does not give any further info on export functions lists or what the capabilities of embedding a POWER BI Report for Customers.
I hope I'm able to make you understand what do I need exactly!!
Hello @lovishsood1 ,
Export Options in Power BI Embedded:
Method |
API Type |
Usage |
Output Format |
exportData() |
JavaScript SDK |
Export data from a single visual |
CSV (Summarized / Underlying) |
ExportToFile |
REST API |
Export full report/pages |
PDF, PPTX, PNG |
ExportPaginatedReport |
REST API |
Export tabular data via paginated report |
Excel, PDF |
Supporting Functions
Function |
API Type |
Purpose |
getPages() |
JavaScript SDK |
Retrieve pages in a report |
getVisuals() |
JavaScript SDK |
Get visuals on a page |
getFilters() / setFilters() |
JavaScript SDK |
Read/apply filters for drillthrough/export |
GetExportToFileStatus |
REST API |
Track status of export jobs |
Please refer the below documents:
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! |
Regards,
B Manikanteswara Reddy
Hi @lovishsood1 ,
We wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Please don't forget to give a "Kudos |
Regards,
B Manikanteswara Reddy
Hi @v-bmanikante ,
I'm currently looking into it. getVisuals() is currently not working on my end. It is returning "no visual found".
Though I have added 3 visuals;
I do not know why it is returning "No Visual Found"!!!
P.S. : I'm trying to explore Power Automate as well ,as you cAN see from Export Data Button.
Hello @lovishsood1 ,
Thank you for the follow-up, and sorry to hear that you're still experiencing the issue.
Kindly review the screenshot provided below, as it offers additional context for the issue. Additionally, please refer to the attached link, which outlines similar issues that may be relevant.
Solved: Export embedded report with filters - Microsoft Fabric Community
Solved: Exporting the data with filters applied. - Microsoft Fabric Community
Solved: Export Data from Power BI embedded - Microsoft Fabric Community
Export data from a Power BI visualization - Power BI | Microsoft Learn
Reports - Export To File In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! |
Regards,
B Manikanteswara Reddy
Hi @lovishsood1 ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Please don't forget to give a "Kudos |
Regards,
B Manikanteswara Reddy
Hi @lovishsood1 ,
May I ask if you have gotten this issue resolved?
If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.
Please don't forget to give a "Kudos |
Regards,
B Manikanteswara Reddy
Hi @v-bmanikante ,
No, I'm still stuck at exporting data.
https://github.com/Microsoft/PowerBI-Developer-Samples
I used the above sample code and tried embedding my report. Embedding is successful but not able to trigger the export data functionality.
I also tried triggering Power Automate Flow from the code using the HTTP method
THis flow is not getting triggered as well.
Hello @lovishsood1 ,
Thank you for the follow up.
Since this appears to be a platform level or configuration issue beyond what we can resolve locally, I recommend raising a support ticket with Microsoft Power BI Support.
When opening the ticket, it will help to include a description of the issue, steps you have taken so far and the embed configuration and environment details (like report ID, workspace, authentication method) etc.The support team can investigate further on the backend and provide more targeted help for your specific environment.
https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket
Regards,
B Manikanteswara Reddy
Hi @lovishsood1 ,
Just checking, have you had a chance to open a support ticket, as suggested. Was the issue resolved ?if so, it would be great if you could share the solution here as well and please consider marking it as the accepted solution to help others as well.
Warm regards,
B Manikanteswara Reddy
Hi @lovishsood1 ,
As we haven’t heard back from you, we will go ahead and close this ticket for now.
If you need any further assistance, please don’t hesitate to raise a new ticket, we are always happy to help. Thank you for reaching out to Microsoft Fabric Community Forum.
Our sincere apologies if there was any inconvenience caused.
Regards,
B Manikanteswara Reddy
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
75 | |
43 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |