Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
roozbeh_al
Frequent Visitor

export data of a visual into APIs (JSON or XML)

Hey all,

When you choose to export the data of a visual, you can only export its data to csv file.

Screenshot (13).png

Is there anyway I can export the data of this visual in APIs?

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @roozbeh_al ,

 

According to official documents, there are certain restrictions on exporting.

v-henryk-mstf_0-1618905261966.png

Generally speaking, only summarized data or underlying data can be exported. But if you want to export through jason, here is a solution: Export data in JSON format

 

reference document link: Export data from a Power BI visualization - Power BI | Microsoft Docs

 

If the problem is still not resolved, please provide detailed information and let me know immediately. Looking forward to your reply.

Best Regards,
Henry

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @roozbeh_al ,

 

According to official documents, there are certain restrictions on exporting.

v-henryk-mstf_0-1618905261966.png

Generally speaking, only summarized data or underlying data can be exported. But if you want to export through jason, here is a solution: Export data in JSON format

 

reference document link: Export data from a Power BI visualization - Power BI | Microsoft Docs

 

If the problem is still not resolved, please provide detailed information and let me know immediately. Looking forward to your reply.

Best Regards,
Henry

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

negi007
Community Champion
Community Champion

@roozbeh_al  I am not sure if it possible to export data from visual in api format. Normally APIs are system generated output file and can export data or import data as per a fixed time or duration. There is a token mechanism in API which may not be possible while exporting data from visual. Please have a look at below articles for exporting data to apis

 

https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-to#:~:text=When%20the%20export%2....

 

https://docs.microsoft.com/en-us/rest/api/power-bi/reports/exporttofile

 

https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-to

 

https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-export-data

 

 




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.