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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
bsimmons
New Member

Access Code generating reports

I'm trying to create a process such that the reports that I’ve connected to my SharePoint online list can be handled dynamically. The reports that I'm generating have team member names as part of the columns so I want the reports to automatically reflect any changes for a team. Right now any changes to columns selected in a report just generate an error so I want to edit the underlying code to produce the reports generically, like I’ve done for my queries. Is there a way to get to the code generating the reports similar to the advanced query editor option? I've been doing research and can't figure out how to access it, the Power BI embedded doesn't seem to be what I'm looking for. If this is possible, any suggestions would be greatly appreciated!

 

1 REPLY 1
v-sihou-msft
Microsoft Employee
Microsoft Employee

@bsimmons

 

No, it's not possible to get some code to generate reports. If you want to import same report context, you may create a Power BI Template file. However, you still need to manually edit the underlying query.

 

Regards,

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.