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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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

 


@ 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!:
Mastering Power BI 2nd Edition

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

Can you post your Advanced Editor code?


@ 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!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors