The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi all,
I am importing some data from a csv file but some columns are showing and being recognised as empty for some reason. Then any manipulation would result in an error afterwards;
here are the screenshots;
then when trying for example to put first line as title;
Any Ideas?
Thanks,
Rmsl
It looks like there are spaces or tabs or hidden characters in the csv file.
If this is a one-off, you can just delete the extra columns, job done.
If this happens consistently , there are other techniques e.g. you can pass the number of columns to csv.Document as a parameter and it will ignore any 'extra' ones
OR add a 'remove other columns' step once you have selected all the desired columns.
@HotChilli thanks - however I've tried to locate spaces / tabs or hidden characters and nothing. Those blank columns aren't extra columns - they are somehow being considered as blank whereas they aren't.
When trying to filter the column 13 which as you can see shows "WM" many times - the only option is (Blanks)
Also, when openning the reports via folder (i.e. Csv.Document(File.Contents( etc.) it works fine.
User | Count |
---|---|
82 | |
81 | |
37 | |
34 | |
31 |
User | Count |
---|---|
94 | |
80 | |
60 | |
50 | |
49 |