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

Pass FlowFilter from RDLC report to flowfield

(0) ShareShare
ReportReport
Posted on by 3,297

Hi

I have flowfilter (date) defined in a flowfield. I'm trying to pass the the date filter when running a report so based on the date selected by end user, the flow field data is filtered:

Flow Fields on table

        field(60003; Balance; Decimal)

        {

            FieldClass = FlowField;

            CalcFormula = sum("G/L Entry".Amount

                                                            WHERE(

                                                                  "Global Dimension 2 Code" = FIELD(Code),

                                                                  "Posting Date" = field(DateFilterP1)

 

                                                            ));

            Caption = 'Balance';

        }

 

        field(60400; DateFilterP1; date)

        {

            Caption = 'Date Filter';

            FieldClass = FlowFilter;

        }

 

Report

 

                    trigger OnAfterGetRecord()//GL Entry

                    var

                        DimValue: Record "Dimension Value";

 

                    begin

                        begin

                           

                        end;

                        begin

                            DimValue.SetRange(Code, "Global Dimension 2 Code");

                            DimValue.SetFilter(DateFilterP1, '%1..%2', 20220501D, 20220610D);//'%1..%2',

                            if DimValue.FindFirst() then

                                DimValue.CalcFields(Balance);

 

                            StartDim2Balance := DimValue.Balance;

                        end;

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,788 Moderator on at

    Hi,

    What is the your question?

  • Samantha73 Profile Picture
    3,297 on at

    the above code doesn't work or I cannot pass the flowfilter from report to flowfield. Couldn't find a standard report with an example - perhaps someone can point me to a standard report

  • Suggested answer
    Nitin Verma Profile Picture
    21,788 Moderator on at

    what is the error you are facing? please share your report here.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,055 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,063 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 1,014 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans