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 IV
Super User IV

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

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors