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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Power Bi API's

Hello all,

 

I want to create visualisation using Power BI but not from their app instead using React JS code.

Then I think the option would be to use Power BI API's. As I am completely new to Power BI or using any API's. It would be great if someone can let me know, for example plot a bar chart taking csv file as input. 

 

Also, please feel free to give any other suggestions if not using Power BI API's. Thanks!

3 REPLIES 3
v-eqin-msft
Community Support
Community Support

Hi @Anonymous ,

 

According to my understanding, you want to custom visualizations,right?

Please refer to the official document on how to do it.

 

Hope these could help you a little.

https://www.welcomedeveloper.com/building-power-bi-custom-visuals-with-react-and-d-3-js-pt-two

https://towardsdatascience.com/truly-customizing-power-bi-with-react-angular-or-any-web-framework-5652b86a723e

https://community.powerbi.com/t5/Custom-Visuals-Development/Custom-visualization-with-React/m-p/235119

 

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

Anonymous
Not applicable

@v-eqin-msft @amitchandak 

thanks for your replies. But I am not looking to create custom visuals instead I just want to use current available visuals in Power BI Desktop.

 

My question is if I can create data visualization of Power Bi by writing code in React Js instead of creating visualizations from Power BI Desktop?

 

thanks

amitchandak
Super User
Super User

@Anonymous , This is step by step process to get data, in case this can help

https://www.sqlshack.com/how-to-access-power-bi-rest-apis-programmatically/

 

Another option embedding power bi

https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-embed-secure

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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