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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Adding filter on repor...
Finance forum

Adding filter on report in 'Records to Include' tab

(0) ShareShare
ReportReport
Posted on by 190

Hello, I want to add the section 'Records to Include' as shown below before running my report. I have tried with the DataContract class and DataContractAttribute method but this adds my fields under the tab 'Parameters'.

Help please.

/6648.Capture.PNG/

Categories:
  • Verified answer
    Mea_ Profile Picture
    60,286 on at

    Hi Oush Mi Ta,

    Use SRSReportQueryAttribute  to set query for your data provider and AX automatically add "records to include", you can find lots of example in standard AX just using cross-references by this attribute or you can check this technet article technet.microsoft.com/.../gg731917.aspx

  • Oush Mi Ta Profile Picture
    190 on at

    Thanks, was very helpful.

  • Hakan Fatih YILDIRIM_1 Profile Picture
    14 on at
    I have already SRSReportQueryAttribute in DP class but records to include is not coming.
  • Hakan Fatih YILDIRIM_1 Profile Picture
    14 on at
    I found the reason it is because report has datasource with dynamics filter is false. I changed to true then records to include is coming.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans