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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Exporting the data to CSV file

When exporting the PBI Report data to CSV file ,the format in the CSV file is getting weired format .

 

Example: there is a number in PBIX with leading Zeros - 000000123456789, but in the CSV file it showing 123456789 upon exporting the data to CSV and removing the leading Zeros.

 

Is there any way to fix this issue?

 

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

You can try this solution:

  1. Delete Change type in edit queries in power bi desktop, close & apply it.change type.png
  2. Export data to .CSV file from power bi desktop
  3. Open a new worksheet, choose From Text in Data ribbonfrom text.png
  4. Select the file you have previous export, then click next to setp2 and select comma to next:step2.png
  5. Change the data format into text, finish itsetp3.png
  6. You will get the result like this:result.png

Best Regards,

Yingjie Li

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

You can try this solution:

  1. Delete Change type in edit queries in power bi desktop, close & apply it.change type.png
  2. Export data to .CSV file from power bi desktop
  3. Open a new worksheet, choose From Text in Data ribbonfrom text.png
  4. Select the file you have previous export, then click next to setp2 and select comma to next:step2.png
  5. Change the data format into text, finish itsetp3.png
  6. You will get the result like this:result.png

Best Regards,

Yingjie Li

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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