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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM SSRS Report Error

(0) ShareShare
ReportReport
Posted on by

I am creating a report using Report Authoring Extension (with SQL Server Data Tools support). After adding the fetch XML to the Query designer I got error that says: 

"An error occurred while executing the query. The attribute "new_educationallevel" cannot be found for entity "incident". Specify a valid query, and try again."

 

I don't receive such errors when I remove custom fields from the fetch XML and I need those customized fields in my report, the CRM version I am using is Online Dynamics CRM 2016 and the customization is on the Sandbox and all the customization is published.

*This post is locked for comments

I have the same question (0)
  • Saroj Das Profile Picture
    3,355 on at

    Make sure your attribute is available in the entity and you have published your changes.

    can you please paste your Fetch query here?

    Thanks,

    Saroj

  • Community Member Profile Picture
    on at

    I did so, and published the solution also I created multiple records and a simple report using the Wizard for those entity and all seem to work just fine.

    That's part of the Fetch XML. Here attribute name "new_educationallevel" is the custom one the rest aren't when I remove the custom one it doesn't give me any error however I need that field in the report.

    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">

     <entity name="incident">

       <attribute name="statecode" />

       <attribute name="prioritycode" />

       <attribute name="ownerid" />

       <attribute name="new_educationallevel" />

       <attribute name="ticketnumber" />

       <attribute name="incidentid" />

       <filter type="and">

         <condition attribute="createdon" operator="this-year" />

       </filter>

     </entity>

    </fetch>

  • Suresh Sorde Profile Picture
    1,077 on at

    Hi, 

    Remove the field that gives error from query and try with another custom field for testing.

    If it work for this custom field then recreate educationallevel field.

    Thanks

     

  • Verified answer
    Community Member Profile Picture
    on at

    I couldn't find a solution for the problem.

    However I did some work around where I created a dummy report by wizard with the data I wanted and then imported that reported in VS and worked on it and it worked just fine.

  • Community Member Profile Picture
    on at

    Hi Naareman, I am also facing same issue and by chance with same entity "Incident", did you get any permanent solution for this bug?

  • Rakhi Sharma Profile Picture
    on at

    Hi Suyash,

    When your organization has multiple instance then you have to specify the instance along with the organization url  while creating the reports in Visual Studio.

    For example : https://test.crm.dynamics.com;organizationuniquename

    Note: Please mark my answer as verified if it is helpful for you.

  • alx.kpk Profile Picture
    35 on at

    If you trying to add a field of type "multiselect-optionset" it's not supported by reports:

    nishantrana.me/.../

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans