Forum Discussion
Blanks showing in table visual
- 1 year ago
swb128 Hi, happy to hear you found the issue! "Power Query analyzes the example file (by default, the first file in the list) and determines the correct file connector to use to open that file."
https://learn.microsoft.com/en-us/power-query/combine-files-overview
So It builds transformation steps (like types) based solely on that file. And those steps are then applied to all other files, even if they are different or leading to missing or null values like in your ListPrice column.
- 1 year ago
I would go back and inspect csv data in excel or notepad before I load them in power query, identify one of the incorrupt ones and use it as the first file.
Not sure if there's a better or automated way. Maybe other people can advise?
swb128 Hi, happy to hear you found the issue! "Power Query analyzes the example file (by default, the first file in the list) and determines the correct file connector to use to open that file."
https://learn.microsoft.com/en-us/power-query/combine-files-overview
So It builds transformation steps (like types) based solely on that file. And those steps are then applied to all other files, even if they are different or leading to missing or null values like in your ListPrice column.
Is there an easy/recommended way of getting the correct data loaded in? There are 1000 rows of data in the file, but just 1 column has been corrupted.
swb1
- MasonMA1 year ago
Super User
I would go back and inspect csv data in excel or notepad before I load them in power query, identify one of the incorrupt ones and use it as the first file.
Not sure if there's a better or automated way. Maybe other people can advise?- Anonymous1 year agoNot applicable
Hi swb128,
Unfortunately, there's no fully automated solution within Power BI that dynamically adjusts the sample file selection or transformation logic across varied source structures during the "Combine Files" step. Since Power Query builds all subsequent steps based on the structure of the first file.
Thanks & Regards,Prasanna Kumar