Forum Discussion

Kirt1965's avatar
Kirt1965
Icon for Helper III rankHelper III
6 years ago
Solved

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

  • Anonymous's avatar
    Anonymous
    6 years ago

    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

4 Replies

  • Anonymous's avatar
    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

    • Kirt1965's avatar
      Kirt1965
      Icon for Helper III rankHelper III

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

    • Kirt1965's avatar
      Kirt1965
      Icon for Helper III rankHelper III

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