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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

API structure in Power BI not changing

I'm using an internal API to populate the data in my report. I'm having issues refreshing the data. If I add or delete a column to my report it is reflected in the API but not in Power BI. I did some research and found a post that suggested changing the number of columns in the advanced editor. Unfortunately I cannot do that (because of the way the developers on our team structured the API). Below is the online example I found, and then NSS is the way that my advanced editor is loading the API data.

I'm looking for ideas/suggestions on how to load or manipulate the queries so that the data in Power BI will always accurately reflect the API (specifically when adding or deleting columns). Thanks!

Example.JPG

 

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

AFAIK, power query table will cache table structure in query steps. They can't dynamic changed based on previous steps, so you need to manually fix them if any changes applied on datasource side.

In my opinion, you can consider to send columns list on api side, then you can use this list in table format step.

BTW, can you confirm web connector received csv file? If this a case, you can package web.contents function with csv.document function codes.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.