cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GovindM
Helper I
Helper I

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
Eyelyn9
Community Support
Community Support

Hi @GovindM ,

 

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-56...

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

 

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.

@Eyelyn9 @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

@GovindM , 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



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!