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

Announcements

News and Announcements icon
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
    61,218 Super User 2026 Season 1 on at

    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,466 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,829 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,505

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans