Forum Discussion
Anonymous
5 years agoNot applicable
Leading zeros disappear while exporting to csv
Hi all, I have a report on Power BI with column varchar from source cotaining numbers. After exporting the report to csv the leading zeros are being considered as number by Excel and getting removed...
- 5 years ago
Please refer to this:
- 5 years ago
Hi Anonymous ,
I had the same issue. Unfortunately it's not a PowerBI service, Desktop or Report builder issue. It's actually the doing of Excel Application. Excel is converting the values into integer by default. I opened my csv file in Notepad and the data did look good with the leading zeros.
kakarot13
5 years agoFrequent Visitor
Hi Anonymous ,
I had the same issue. Unfortunately it's not a PowerBI service, Desktop or Report builder issue. It's actually the doing of Excel Application. Excel is converting the values into integer by default. I opened my csv file in Notepad and the data did look good with the leading zeros.