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 !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

Helpful resources

Announcements
Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Power BI Womens Summit 2021 768 x460.jpg

Interviews, learning sessions, allies, and more!

#PowerBIWomenSummit

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

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