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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.