Power Query M code often hardcodes limits that break your queries. Delete the columns argument from auto-generated code to ...
You don't have to give up on creating dynamic queries just because you're using Entity Framework. Entity SQL and ObjectQuery will let you generate queries at runtime and still let you update your data ...