Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Data Import Error (schema mismatch)

(0) ShareShare
ReportReport
Posted on by 45

Hi Community,

We are loading several tables form a Azure data lake Gen2 (CDM folders). The system is in productive use since a few months where we built several (complex) measures and segments.

Recently we recently realized import errors on several tables where the error message says:

Error: Number of columns in source data file does not match the number of attributes: {AttributeCount} defined in the source data schema for the entity '[table name]'

(The data still seems to load correctly)

When I try to review/edit the data source, CI tells me I have to first remove the table from all relationships/measures/segements etc. This would be a massive task and cause a downtime for several days (basically we would have to "rebuild" almost everything).

How can I find out which columns are causing the issue? Is there any other way to analyze this and "reset" the data schema within CI and fix this?

  • Mukesh Pohuja Profile Picture
    on at
    RE: Data Import Error (schema mismatch)

    can you reach out to CIHelp@microsoft.com for investigation?

  • Johannes Wagner Profile Picture
    45 on at
    RE: Data Import Error (schema mismatch)

    Hi Mukesh, thanks for your suggestions

    1) No. All ADLS refreshes are complete when CI refreh startes

    2) Yes. There are issues with line breaks that cause "corrupt" records (this is yet another problem)

    3) Yes. However, this occurs in different entities not related to the schema error

  • Mukesh Pohuja Profile Picture
    on at
    RE: Data Import Error (schema mismatch)

    1. Were the files on the ADLS still in the middle of a refresh, before the Data source refresh started? 

     2. Any chance there are new lines in the data, thats throwing off the col counts.

    3. Under entities, Is there a corrupt entity that you can check for data skew?

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... 292,923 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,788 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans