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 :
Small and medium business | Business Central, N...
Suggested Answer

How to filter Flow Field in range of date

(0) ShareShare
ReportReport
Posted on by 39

i want to get the number of invoices that are posted this month. so i created flow field but I can not figure out how to apply the date filter.

I tried to create flow filter field and on open page I tried this 

Evaluate(rec."Date Filter", Format(CalcDate('CM', Today)) + '..' + Format(CalcDate('CM-1D+1M', Today)));
but it only give the last date, I also tried to create two flow filters one for starting date and the other for ending date but how can I apply them on the calcFolrmula 
it gives error when I write it like this  CalcFormula = count("Sales invoice Header" where("Posting Date" = filter(> field("Date Filter"))));
Is there any way I can achieve this using flowField;
I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,993 Super User 2025 Season 2 on at
    RE: How to filter Flow Field in range of date

    what about

    Rec.SetFilter("Date Filter", '%1..%2', CalcDate('<CM>', WorkDate()), CalcDate('<CM-1D+1M>', WorkDate()));

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans