web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Existing table loaded ...
Power Apps
Unanswered

Existing table loaded without leading zeros in a text column, need to add leading zeros

(0) ShareShare
ReportReport
Posted on by 10

I have a table in dataverse that was loaded from a csv file. The key column is 5 characters. When the column had a character in it, the key was loaded properly, with leading zeros to fill out to 5 characters. However, if it was numeric, the leading zeros were truncated. So 05520 was loaded as 5520. 055A0 was loaded properly as 055A0. I understand how that happened.

 

I need a way to correct the keys that are in error. it is causing lookup errors, as 05520 cannot be looked up in the table. Can you download the spreadsheet of items, update it, and reupload? will it update, or do I have to delete the table, and reload it properly?

I have the same question (0)
  • Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 on at

    Hello @JayAnderson 

     

    Please follow below steps to proceed the same.

     

    1. Open a FRESH Excel

    2. Select Ctrl+A or Choose the Column where Number Available and Change Type to TEXT

    rampprakash_0-1644419682094.png

     

    3. Save it as CSV and Try importing it. 🙂

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

  • JayAnderson Profile Picture
    10 on at

    The column was selected as text, and the CSV used to load the table had leading zeros on all the entries. 

  • Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 on at

    Hello @JayAnderson 

     

    That's strange, hope the field type is Text.

     

    If its not working, we are good to go with DATAFLOW.

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard