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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AppleMan
Helper III
Helper III

PowerBI Desktop to Service Refresh

Hi,

 

I have an issue where the data I am using for my powerBI report is an excel document in sharepoint. 

The problem im having is the users running this sharepoint have two columns with no headers that are the today() function and today() + 30.

 

When I refresh the data in powerBI desktop it sees when these columns change day to day and throws no error and refreshes the data fine.

 

The issue im running into is when these reports are published to powerBI service and set to automatically refresh those refreshes fail because the column may change from say 1/1/25 to 1/2/25. I can fix this by going into desktop and deleting these columns in power query and republishing the report, however the next day a new column is added with the new date and the following day the report refresh fails again in service once that date field changes in excel. 

 

The solution in my head is forcing the users running the sharepoint to give those columns a standard header so its the same till the end of time in BI.

 

However my real question is, if powerbi desktop can handle this column changing names and refresh fine why can powerbi service not handle this?

Any solutions beyond the one I mentioned above are appreciated. 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @AppleMan  -you can ask the users managing the SharePoint Excel file to name the columns with Today and Today + 30 headers. These names should remain static so that Power BI can map to them consistently.
Example headers: Today and Today+30.
If enforcing this change is feasible, it eliminates the problem entirely.

 If possible, enforce standardized headers in the source file. If not, use Power Query to either ignore or dynamically handle the problematic columns. These solutions will prevent refresh failures and ensure smooth operation in the Power BI Service. 

 

ref links:

Refresh breaks due to COLUMN NAME CHANGES? 3 ways to fix changing column headers in Power BI!

Dynamically remove columns that contain a specific word in the header in Power Query – Curbal





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
rajendraongole1
Super User
Super User

Hi @AppleMan  -you can ask the users managing the SharePoint Excel file to name the columns with Today and Today + 30 headers. These names should remain static so that Power BI can map to them consistently.
Example headers: Today and Today+30.
If enforcing this change is feasible, it eliminates the problem entirely.

 If possible, enforce standardized headers in the source file. If not, use Power Query to either ignore or dynamically handle the problematic columns. These solutions will prevent refresh failures and ensure smooth operation in the Power BI Service. 

 

ref links:

Refresh breaks due to COLUMN NAME CHANGES? 3 ways to fix changing column headers in Power BI!

Dynamically remove columns that contain a specific word in the header in Power Query – Curbal





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





How would you go about ignoring or handling the problematic columns?

 

What I tried was removing the columns in power query, however once the excel formula changes it to a different column value (ie. 1/1/25 to 1/2/25) then the refresh breaks in service and says it cant find the column value 1/1/25. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.