Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
gavinhuet
New Member

Issues with CSV files

Hi,

 

If I have data in a csv file it imports nicely.

ColumnA,ColumnB

"R1C1","R1C2"

 

The first issue is that if I swap the columns around and get data again I am prompted to override the existing the dataset, the columns are ignored and the data is imported as though it is the original file - no warnings.

ColumnB,ColumnA

"R1C2","R1C1"

"R2C2","R2C1"

 

Imports as

ColumnA,ColumnB

"R1C2","R1C1"

"R2C2","R2C1"

 

 

The second issue is that if I then add ColumnC, Get Data again, I am once again prompted to override the existing dataset.

This time however it says that there is an error and the data is then lost.

Surely at that point you should be given the option to undo the change?

 

Kind regards

Gavin

 

1 ACCEPTED SOLUTION
ankitpatira
Community Champion
Community Champion

@gavinhuet I can replicate your issue. You should submit this as a bug. But I would suggest you go down the approach of using power bi desktop to import csv file and then publish to power bi service.

View solution in original post

5 REPLIES 5
ankitpatira
Community Champion
Community Champion

@gavinhuet I can replicate your issue. You should submit this as a bug. But I would suggest you go down the approach of using power bi desktop to import csv file and then publish to power bi service.

Great, how do I submit it as a bug?

Issues forum:

 

https://ideas.powerbi.com/forums/360879-issues

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Community Champion
Community Champion

Can you post your Advanced Editor code?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors