Skip to main content

Notifications

Microsoft Cloud for Sustainability | MSM, SDSF,...
Suggested answer

MSM: Loading error when trying to import data via power query template

Posted on by 2

Hi Team,

I am currently trying to perform data loads into the MSM via a Power Query template, but I always get following error: 

Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: Expression.Error: The column 'Column2' of the table wasn't found. Details: Reason = Expression.Error;ErrorCode = 10224;Detail = Column2;Microsoft.Data.Mashup.Error.Context = User

 

Within the Power Query I'm creating a few help tables to perform my data transformations. Those tables will not be imported into the MSM and should also not be loaded. But every time I open the connection or the template, the tables that should not be loaded are loaded anyway. The "Enable load" function cannot be turned off it seems.

I strongly suspect that the error occurs because the temporary table is tried to be loaded into the MSM...

 

Any idea on how to fix that?

Cheers,

Lea

  • Lea Kraus Profile Picture
    Lea Kraus 2 on at
    MSM: Loading error when trying to import data via power query template
    Hi Shivam,
     
    thanks for the suggestion. This actually seems like a good workaround but when trying it out we encounter another problem.
     
    We need the output of the helper table for the main query. But when I block or bypass the loading of the helper table I cannot use its output anymore.
    Do you know if it's possible to reference to a middle step of the query instead of the last step? I know that I can reference a previou step in the same query, but does it work for different queries?
    Or any other idea on how to avoid that behaviour?
     
    Thanks and cheers,
    Lea
  • Suggested answer
    Shivam Bansal Profile Picture
    Shivam Bansal 6 on at
    MSM: Loading error when trying to import data via power query template

    The error occurs because Power Query is trying to load temporary helper tables into Microsoft Sustainability Manager (MSM).

    To fix this, open Power Query Editor and identify the helper tables. Use a workaround like appending a step to make these tables unreachable (e.g., Table.RemoveColumns(Source, {"NonExistingColumn"})). Ensure the "Enable Load" option is effectively bypassed, and confirm that all required columns in the main query are present and correctly named. Finally, test the connection after adjustments to ensure only the intended data is loaded into MSM.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,151 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,993 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans