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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Error in Power Query from FetchXML generated by XRM Toolbox Power Query (M) Builder tool

(0) ShareShare
ReportReport
Posted on by 5

I've hada considerable success using XRM Toolbox "Power Query (M) Builder" to load Dynamics CRM views into Power BI. This failure  is the first I've experienced. 

The error message is:

Expression.Error: The field '_from_value@OData.Community.Display.V1.FormattedValue' already exists in the record.
Details:
Name=_from_value@OData.Community.Display.V1.FormattedValue
Value=[View:/cfs-file/__key/communityserver-discussions-components-files/117/Power-Query_2D00_-generated.txt]

The specific statement in error is:

= Table.ExpandRecordColumn(#"Converted to Table", "Column1",
{
"subject",
"_regardingobjectid_value",
"_regardingobjectid_value@OData.Community.Display.V1.FormattedValue",
"activityid",
"prioritycode",
"prioritycode@OData.Community.Display.V1.FormattedValue",
"actualend@OData.Community.Display.V1.FormattedValue",
"_from_value@OData.Community.Display.V1.FormattedValue",
"_from_value",
"_from_value@OData.Community.Display.V1.FormattedValue",
"createdon@OData.Community.Display.V1.FormattedValue",
"ac.companyname",
"ac.ownerid",
"ac.ownerid@Microsoft.Dynamics.CRM.lookuplogicalname",
"ac.ownerid@OData.Community.Display.V1.FormattedValue",
"ac.new_manufacturerid",
"ac.new_manufacturerid@OData.Community.Display.V1.FormattedValue",
"ac.new_machinemodelid",
"ac.new_machinemodelid@OData.Community.Display.V1.FormattedValue"
},

{
"subject",
"_regardingobjectid_value",
"_regardingobjectid_value@OData.Community.Display.V1.FormattedValue",
"activityid",
"prioritycode",
"prioritycode@OData.Community.Display.V1.FormattedValue",
"actualend@OData.Community.Display.V1.FormattedValue",
"_from_value@OData.Community.Display.V1.FormattedValue",
"_from_value",
"_from_value@OData.Community.Display.V1.FormattedValue",
"createdon@OData.Community.Display.V1.FormattedValue",
"ac.companyname",
"ac.ownerid",
"ac.ownerid@Microsoft.Dynamics.CRM.lookuplogicalname",
"ac.ownerid@OData.Community.Display.V1.FormattedValue",
"ac.new_manufacturerid",
"ac.new_manufacturerid@OData.Community.Display.V1.FormattedValue",
"ac.new_machinemodelid",
"ac.new_machinemodelid@OData.Community.Display.V1.FormattedValue"
})

I have the same question (0)
  • Suggested answer
    XM-22040801-0 Profile Picture
    11 on at
    RE: Error in Power Query from FetchXML generated by XRM Toolbox Power Query (M) Builder tool

    Hi,

    The line 104 and 102 of your query extract the same field name: _from_value@OData.Community.Display.V1.FormattedValue.

    {"_from_value@OData.Community.Display.V1.FormattedValue", "fromhidden"},
    {"_from_value", "From (from)"},
    {"_from_value@OData.Community.Display.V1.FormattedValue", "From"},

    Could you remove one and retry ?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 179

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 127 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans