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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Kirt1965
Helper III
Helper III

Prevent exported text column from removing leading zeros

Hello all,

 

We have text columns containing employee IDs.  Frequently those begin with leading zeros.  The leading zeros are removed upon exporting to Excel csv file.  Is there any way to force retaining the leading zeros?

 

Thank you,

Kirt

1 ACCEPTED SOLUTION
Anonymous
Not applicable

This behavior was noticed in the desktop export only.  Once you publish to Power BI Service the data types should be respected and the export will function as expected.  Alternative is to use paginated reports which will provide unlimited rows export as well as a subscription option to deliver the report attached to an email.

HTH,

Smitty

View solution in original post

4 REPLIES 4
Pragati11
Super User
Super User

Hi @Kirt1965 ,

 

There is an existing thread on this:

https://community.powerbi.com/t5/Desktop/How-to-Stop-Power-BI-from-Removing-Leading-Zeros/m-p/101609...

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

I read that thread before posting.  It was unrelated to the issue I was seeing.

Anonymous
Not applicable

This behavior was noticed in the desktop export only.  Once you publish to Power BI Service the data types should be respected and the export will function as expected.  Alternative is to use paginated reports which will provide unlimited rows export as well as a subscription option to deliver the report attached to an email.

HTH,

Smitty

Thank you, Smitty.  This was indeed the problem.  Appreciate it.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Power BI Monthly Update - May 2024

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