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

ER in d365fo how can I create condition with filter in model. Different filter in model

(0) ShareShare
ReportReport
Posted on by 43
Hi, 
I want to filter the model and to execute it in batch job with dynamic dates.
I created the Calculated fields.
$15_PERMONTH
$16TH_PREVIOUS_MONTH
$FIRSTDATE
$LASTDAY_PREVIOUS_MONTH

I want something like as below. My actions aren't succeded.

IF(TODAY()>'$15_PERMONTH',
FILTER(model.RecordList, AND(
model.RecordList.Date>=model.'1stCurrentDate',
model.RecordList.Date<=model.'15thCurrentMonth'
)
),
FILTER(model.RecordList,
AND(
model.RecordList.Date>model.'15thPreviousDate',
model.RecordList.Date<=model.LastPreviousDate
)
)
)
I have the same question (0)

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 707 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 618 Super User 2025 Season 2

#3
CU05031448-0 Profile Picture

CU05031448-0 600

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans