Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Using RequestFiterFields while using a query object in a report

(0) ShareShare
ReportReport
Posted on by

I am creating a report object that uses an existing query object. I like to add RequestFilterFields from some of the fields available in the query.

Is there any way?

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,036 Super User 2024 Season 2 on at
    RE: Using RequestFiterFields while using a query object in a report

    Hi, The RequestFilterFields property can only be applied to Data Items.

    pastedimage1652661075920v1.png

    If you insert the Query fields as a variable into the Column, it cannot be done.

    pastedimage1652661089789v2.png

    In this case, you can create a temporary table first, use this temporary table as DataItem, and insert the value of Query into this temporary table when Report runs. I think this will not be much less perfomance.

    Hope this helps.

    Thanks

    ZHU

  • Suggested answer
    Alok.kulshreshtha Profile Picture
    Alok.kulshreshtha 934 on at
    RE: Using RequestFiterFields while using a query object in a report

    may be try to add variable as filter on request page if columns are not available in report data item and pass value a filter to query.

    Regards,

    Alok Kulshreshtha

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Using RequestFiterFields while using a query object in a report

    Maybe you can share some code, so we can see how you have organized your report ?

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans