Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Have completed my dashboard and as I go back into my final checks, I found this error and all of my data is gone and the source has the yellow caution sign - error message copied below. on my 4th applied step. (1 - uploaded data source; 2 - navigation and 3 - promote first row to headers; then 4 - change type).
Expression.Error: The column 'Column18' of the table wasn't found.
Details:
Column18
On the "changed type" step is where it goes wonky. See the code from the changet type step below.
= Table.TransformColumnTypes(#"Promoted Headers",{{"Partner", type text}, {"Loan ID ", type text}, {"Loan Type", type text}, {"Loan Subtype", type text}, {"Low Income", type text}, {"Loan Amount", type number}, {"City", type text}, {"County/Parish", type text}, {"Census Tract", Int64.Type}, {"State ", type text}, {"Zip", Int64.Type}, {"Male/Female", type text}, {"Race", type text}, {"Ethnicity", type text}, {"Loan Count Per Census Tract", Int64.Type}, {"Current as of", type date}, {"Data Pull Date", type date}, {"Column18", type any}, {"Column19", type any}})
I tried re-ordering my steps so all added columns, re-names, and type changes happen before more minor edits (cleaming, trimming, etc) - and that worked in the power query editor. When I applied the changes, all of my numbers (total sales, etc.) were doubled.
Thanks in advance for any and all help to *actually* fininsh this dang report.
Solved! Go to Solution.
Hi,
Similar has happenned with me so what I think is, the source doesn't have 'Column18' and hence the error. (seems, source was changed after you ingest that table in Power BI)
If it is really not there, remove it from query as well:
Updated:
= Table.TransformColumnTypes(#"Promoted Headers",{{"Partner", type text}, {"Loan ID ", type text}, {"Loan Type", type text}, {"Loan Subtype", type text}, {"Low Income", type text}, {"Loan Amount", type number}, {"City", type text}, {"County/Parish", type text}, {"Census Tract", Int64.Type}, {"State ", type text}, {"Zip", Int64.Type}, {"Male/Female", type text}, {"Race", type text}, {"Ethnicity", type text}, {"Loan Count Per Census Tract", Int64.Type}, {"Current as of", type date}, {"Data Pull Date", type date}, {"Column19", type any}})
Side note: if it again says the same error for "Column 19", remove it as well so your step should look like:
= Table.TransformColumnTypes(#"Promoted Headers",{{"Partner", type text}, {"Loan ID ", type text}, {"Loan Type", type text}, {"Loan Subtype", type text}, {"Low Income", type text}, {"Loan Amount", type number}, {"City", type text}, {"County/Parish", type text}, {"Census Tract", Int64.Type}, {"State ", type text}, {"Zip", Int64.Type}, {"Male/Female", type text}, {"Race", type text}, {"Ethnicity", type text}, {"Loan Count Per Census Tract", Int64.Type}, {"Current as of", type date}, {"Data Pull Date", type date}})
Let me know if it helped you.
If this helped, Please kudo this post and mark this as a solution!
Thank you!
Hi @W2SANC,
Thank you for reaching out to Microsoft Fabric Community.
Thank you @Natarajan_M and @InsightsByV for the prompt response.
As we haven’t heard back from you, we wanted to kindly follow up to check if the response provided by the user's for the issue worked? or let us know if you need any further assistance.
Thanks and regards,
Anjan Kumar Chippa
Hi,
Similar has happenned with me so what I think is, the source doesn't have 'Column18' and hence the error. (seems, source was changed after you ingest that table in Power BI)
If it is really not there, remove it from query as well:
Updated:
= Table.TransformColumnTypes(#"Promoted Headers",{{"Partner", type text}, {"Loan ID ", type text}, {"Loan Type", type text}, {"Loan Subtype", type text}, {"Low Income", type text}, {"Loan Amount", type number}, {"City", type text}, {"County/Parish", type text}, {"Census Tract", Int64.Type}, {"State ", type text}, {"Zip", Int64.Type}, {"Male/Female", type text}, {"Race", type text}, {"Ethnicity", type text}, {"Loan Count Per Census Tract", Int64.Type}, {"Current as of", type date}, {"Data Pull Date", type date}, {"Column19", type any}})
Side note: if it again says the same error for "Column 19", remove it as well so your step should look like:
= Table.TransformColumnTypes(#"Promoted Headers",{{"Partner", type text}, {"Loan ID ", type text}, {"Loan Type", type text}, {"Loan Subtype", type text}, {"Low Income", type text}, {"Loan Amount", type number}, {"City", type text}, {"County/Parish", type text}, {"Census Tract", Int64.Type}, {"State ", type text}, {"Zip", Int64.Type}, {"Male/Female", type text}, {"Race", type text}, {"Ethnicity", type text}, {"Loan Count Per Census Tract", Int64.Type}, {"Current as of", type date}, {"Data Pull Date", type date}})
Let me know if it helped you.
If this helped, Please kudo this post and mark this as a solution!
Thank you!
Hi, I did this and it "fixed" the error, but all of my numbers on the dashboard were doubled (total sales amount, count of sales, etc.) - which was a super weird result. I'm working on that issue now but this was helpful for this specific issue. Thanks!
Glad that it worked, let us know if you need any help regarding this doubling issue.
Hi @W2SANC , Can you share the entire PQ to understand in detail what's going on?
Thanks
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 36 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 73 | |
| 73 | |
| 38 | |
| 35 | |
| 26 |