I have just built a data model and normalized flat files while importing from a folder.
When I refresh the data it gives me the following errors:
Query ‘Customers’ (step Removed Duplicates) references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.
I have to click on multiple refreshes for the errors to go away. I have attached a screen shot and the file.
I have seen the videos of Normalization and have performed the same steps duplicating the query, but I get refresh errors.
You only appear to be referencing another query, in the Expanded Table step: Table.ColumnNames(#“Transform File”(#“Sample File”))
This doesn’t look like dynamic content to me (but please correct me if I’m wrong), can you create a separate (hardcoded) list query, that will look something like: { “Name”, “Last date modified” }
Hi Melissa,
I didn’t get what you meant. I’m not very familiar with M code.
I am using the folder option here to import all the files, so that’s the reason its referring to the sample file, but I don’t get it , why does it cause a refresh error.
When, I go to the Power Query editor and refresh it works and then step back into Power BI, run a refresh it works. I cant figure out what am i doing wrong.
Could you please explain what the code does, does it pick up the first row from the Transform file.
I did try the file and it seems to work. I need to understand the workaround here.