r/ExcelPowerQuery • u/Electric-Ice-cream • Mar 08 '25
Expression error, table not found
Hello, I work with a report document that I duplicate and reuse weekly with fresh data and it includes pq. It was created by someone else and I am trying to understand and learn how it works so I can make changes without breaking the thing. So far it feels very precarious so I try not to change anything about the format of the document as it causes issues. Hoping to get a reference book that looks useful, watching YouTube vids too.
This week when I refreshed the data it said it couldn’t find one of the tables. When I looked at the tables that were connected, the name of the table that was not found has changed from what it was last week. A couple q’s
How can this happen without deliberately changing the name of the table? The range is the same so it’s just the name of the table that changed.
How can I fix it?
Any suggestions on best resources for learning PQ?
Thanks!
1
u/declutterdata Mar 09 '25
Hi u/Electric-Ice-cream ,
beautiful username btw.
Anyway.
Someone must have changed the name. PQ doesn't break because it wants to. Is there a space at the end or start maybe?
Take a file where it works, copy the name and paste it into the corrupted file.
Goodly is a superb ressource. He has a free YouTube Channel with a lot of content and paid courses. I would highly recommend to take the courses on PQ and maybe DAX. You will find many topics for free on this YT channel, but your saving yourself a lot of time with the structured course. And time is much more valuable than money. 2nd would be practice + questioning. If you have a problem, you can always come here or DM me.
Best regards,
Phillip from DeclutterData 🙋🏻♂️