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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.