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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Super User
Super User

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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.