Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Error while deploying reports in D365FO: "Field expression is invalid since there is no context dataset."

(0) ShareShare
ReportReport
Posted on by 1,400

Hi guys, I've been migrating .rdl reports from AX2012 R3 to D365. While trying to deploy one of these reports in visual studio, I get the following error and no further explanation: "Path: [AxReport/.../Designs/PrecisionDesign1/Expression]:PrecisionDesign1: Field expression is invalid since there is no context dataset."

What I've been doing to migrate the reports is convert the .rdl file into an .rdlc, and replace the .rdlc file on the designer of the report. The report designer is ok with this since it doesn't throw any other error when trying to compile. I have already defined a dataset on the report (a data provider class with its correspondent tmp table), and the fields on the report correspond with the ones on the dataset. I have also looked at the metadata file of the report and the definition of the dataset are all set to the dataset I defined on the report. 

Has anyone come accross this problem? What am I doing wrong? 

*This post is locked for comments

  • Verified answer
    greengrimms Profile Picture
    greengrimms 1,400 on at
    RE: Error while deploying reports in D365FO: "Field expression is invalid since there is no context dataset."

    Yes, I figured it out... you have to check that every tablix element in the report design has a dataset associated to it. When you finished assigning the datasets, save the design and re-deploy the report. I tried it on multiple reports and it worked everytime.

    Let me know if you need more help or details to guide you through this.

    Good luck!

  • GopalRC Profile Picture
    GopalRC 75 on at
    RE: Error while deploying reports in D365FO: "Field expression is invalid since there is no context dataset."

    did you get solution for this?

    Even i have received same error.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,514 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans