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 :
Finance | Project Operations, Human Resources, ...
Answered

Filter data management export on date range

(0) ShareShare
ReportReport
Posted on by 22

Hi,

I would like to like to create three data management export jobs with date criteria to include all records with accounting date less 15 days with relative days of -7 days from current date.

My current scenario is export a large number of records into three files as below.

records with accounting date 15 days less than today. This one is DayRange(-15,0). example : 11-JUL to 25-Jul


records with accounting date 15 days less than 15 days than today. I need help with this. example. 27-Jun to 10-Jul

records with accounting date 15 days less than 30 days than today. I need help with this. example. 13-Jun to 26 Jun

pastedimage1627268768778v1.png

I have the same question (0)
  • Suggested answer
    Gaurangkumar Jani Profile Picture
    4,554 User Group Leader on at

    Hi Hossam,

    Try the following filters:

    1. for records with accounting date 15 days less than 15 days than today. I need help with this. example. 27-Jun to 10-Jul
      • DayRange(-30,-15)
    2. records with accounting date 15 days less than 30 days than today. I need help with this. example. 13-Jun to 26 Jun
      • DayRange(-45,-15)

    Let us know if this helps you.

    Thanks,

  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Hossam,

    For case no 2 and 3 just add 15 / 30 days on top of your Day Range Filter that you use for your first case.

    Just increase the first and second number and things should work.

    On this site you can find additional examples how you can filter data

    docs.microsoft.com/.../advanced-filtering-query-options

    Best regards,

    Ludwig

  • Verified answer
    huijij Profile Picture
    19,811 on at

    Hi Hossam,

    As Mentioned,The DayRange() is to find a range of dates relative to the session date. Positive values indicate future dates, and negative values indicate past dates.

    regards

  • Hossam Z. EL Hassan Profile Picture
    22 on at

    Thanks it works.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 663

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 439 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 337 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans