Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a dataset, saved as an excel spreadsheet, that I receive via email on a daily basis. I have a Power Automate Flow that creates that file in SharePoint, which is referenced by Power BI (the name of the file never changes, so I delete the old file and load in the new version). Every day, when Power BI refreshes that data, I get the following error:
The column 'Column1' of the table wasn't found.. Column1. . The exception was raised by the IDbCommand interface. Table: Table1.
My assumption was that the underlying report had changed and that field was removed. However, when I opened the file in SharePoint, the column was still present. I went back to Power BI, refreshed again. For some reason the column was now showing up again, and the error did not occur.
The column is the last column in the file for whatever that's worth although I've never seen an issue like this. Every day, I get the error, and the only thing I need to do to resolve the error is open the Excel Spreadsheet from SharePoint. Then I can refresh the data in Power BI and everything works as expected.
Has anyone else seen anything like this? The most common cause for an error like this is a change to the underlying data, which is kind of present since the file is being "overwritten" every day, but the data schema has not changed.
does your m code explicitly reference column1? is there column1 in your data? possibly when you initially connected, your data had column1 (power bi detects the used range and that column can refer to a column without a header).
Proud to be a Super User!
Thank you for your response. To answer your questions:
1. Yes, the column is explicitly and intentionally referenced in the M code
2. Column1 is in my data (See the bit about needing to open the file in original post)
The problem is that Power BI is not seeing a column that does exist in my data, unless and until I open the file in question, at which point, I can refresh the data source and Power BI then sees the column it did not moments before.
So the data that's coming from Power Automate is supposed to include Column1 as well?
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
147 | |
85 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |