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
yxymh
New Member

see the code behind the canvas

I want to see the code behind the canvas, so i can use this code automatically  generate the report, how can i do?

2 REPLIES 2
Greg_Deckler
Super User
Super User

@yxymh Not sure I 100% understand what you are asking for but Power BI does not have any kind of Desktop API like with Word or Excel where you can automate things. There are API's for accessing the data model and API's for the Service but I'm not aware of anything that would allow you to create a report via code.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

so if i export the embed  code repot( the POWER QUERY),  can i automatically format the data and auotomatically refresh the plots in canvas. that's means how automatic the power bi could be?

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.