Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I get the following error message when trying to apply a query which has had a column expanded:
"Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: [Expression.Error] The Column 'Column1' of the table wasn't found.. '."
I believe this is because when the Column1 column was expanded in my data source that it is theoretically no longer there when the query is being applied.
My query is as follows:
let PageRange = {1..100}, Source = List.Transform(PageRange, each try {_, GetData(_)} otherwise null), First = List.FirstN(Source, each _ <> null), Table = Table.FromRows(First, {"Page", "Column1"}), Expanded = Table.ExpandTableColumn(Table, "Column1", {"id", "uid", "siteId", "siteUid"}) in Expanded
I've done research on here but all threads don't seem to end in a solution.
Please help!
Thanks in advance,
Shaun
Hi @Anonymous ,
Could you please mark the proper answers as solutions?
Best Regards,
Hi Shaun,
It can work in my test based on your description here. I'm afraid there could be something wrong in other parts. You named the column "Column1". So that would not a problem. Please refer to the snapshots below.
Can you share the code of GetData? Please mask the sensitive parts.
Best Regards,
OK. I think i know the issue.
My code pulls down entries from a data source where i don't know how many entries there will be (hence the PageRange). As such at the end of the data set the last row always errors which i think then causes the initial problem... still not sure how to fix it though!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
75 | |
72 | |
39 | |
29 | |
27 |
User | Count |
---|---|
97 | |
96 | |
58 | |
44 | |
40 |