Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

data import from excel into AX Table

(0) ShareShare
ReportReport
Posted on by 90

Respected team

                            Im trying to import data from excel sheet into  a newly created table in AX via creating a job , able to insert only 723 rows to be exact out of 2600 or odd rows . Could anyone help me with this as to why this is happening , any help would be greatly appreciated. Thanks .Attaching the screenshot of the code.importdata.PNG

  • Mukesh Bisht Profile Picture
    90 on at
    RE: data import from excel into AX Table

    Thanks Ergun , I rechecked it it was indeed the issue with spaces in excel , certain columns were empty , did some data cleaning and now it's alright . Thanks again

  • Verified answer
    ergun sahin Profile Picture
    8,816 Moderator on at
    RE: data import from excel into AX Table

    If it stays on the same record every time, there is a problem with that line. If the code ends without errors, that line is empty(variantType=empty), you can try change record (not just value but format too)

    But if it gives an error, you need to check for formatting etc. You can try to catch the error with try / cacth.

    Or you can try to read the relevant line one by one (try taking 5-10 records in that range into a different excel)

  • Mukesh Bisht Profile Picture
    90 on at
    RE: data import from excel into AX Table

    No there's no space as such , I checked it .

  • Suggested answer
    ergun sahin Profile Picture
    8,816 Moderator on at
    RE: data import from excel into AX Table

    Can you look at the 724th(or 723) record? Is column 1 empty?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,274 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,947 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans