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
irhyne
Frequent Visitor

Gateway Refresh Fails on "Ghost" Column

I have a report pulling from a SQL database that works great on desktop and had been working fine on the PBI service until a couple of days ago. Suddenly, it began failing on a data mashup error claiming an invalid column name. Normally, this is an unannounced change in the DB naming convention, so I downloaded to the desktop, refreshed the dataset (which refreshed fine) to ensure I had the latest metadata including all column names, and published back up to the service. 

 

Same failure.

 

On investigation, the column name it is throwing is this: 

"value":"Invalid column name 't0_0'.<\/ccon>"}},

 

Neither I nor my DBA would ever use such a name for a column. Essentially, it seems the service has gone looking (or found) a ghost column. 

 

Any help would be appreciated.

1 ACCEPTED SOLUTION
irhyne
Frequent Visitor

I just found and fixed the issue. It seems to be a PowerBI Service error. The query had several transforms, two of which included a table sort (not really necessary, but were there for the builders clarity in the construction phase). This seems to create a temporary column header "t0_0" which did not then go away but was invisible on load. When I removed the sort step from power query and re-uploaded, the error was gone. 

View solution in original post

3 REPLIES 3
mattiasdesmet
Resolver II
Resolver II

Excellent! Looked indeed a bit like some generated column, glad you discovered it

irhyne
Frequent Visitor

I just found and fixed the issue. It seems to be a PowerBI Service error. The query had several transforms, two of which included a table sort (not really necessary, but were there for the builders clarity in the construction phase). This seems to create a temporary column header "t0_0" which did not then go away but was invisible on load. When I removed the sort step from power query and re-uploaded, the error was gone. 

mattiasdesmet
Resolver II
Resolver II

Did you do any SQL Profiling on the query being sent out from the service? Perhaps it helps to narrows down where this occurs (or does this happen immediately when refreshing?)

Can you post the full error message?

Do you have different datasources configured on the dataset in the service through a gateway? 

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.