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
Anonymous
Not applicable

Data Source Replace

Hi All

 

I am trying to replace the data source in my existing power bi report. 

 

I have same columns in both my data sheets, the old and new. 

 

I changed my source by changing the code in Advanced Editor. 

 

Still I am getting an error which says " few column were not found"

 

But i cross checked both the data sources, the cols are same name, not even in different case and even the data types of the col are same.

 

Can anyone please tell me why I am facing this issue

3 REPLIES 3
Gaurav_Lakhotia
Helper III
Helper III

Hi @Anonymous, there might be a chance that Power BI is considering a few blank columns in your older version. Could you please check?

Anonymous
Not applicable

Hi @Anonymous ,

 

Could you tell me if @mahoneypat 's post helps you ? If it does, please kindly Accept it as the solution to make the thread closed. More people will benefit from it.

Or you may share your pbix file after removing sensitive data to help us clarify your scenario.

 

Best Regards,
Eyelyn Qin

mahoneypat
Microsoft Employee
Microsoft Employee

There must be some difference to get that error.  Does one have spaces?  Can you just replace the step(s) giving you the error so that the correct code is generated for the new column names?

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.