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

Report - how to choose dataitem by code?

(0) ShareShare
ReportReport
Posted on by 75

Hi. I have report with four dataitems: 1 'parent' and 3 'child' inside parent on the same level.

I need to run this report from three different pages (related to child dataitems) - how to run this report only based on 2 dataitems? (1 parent and 1 child). I need to 'disable' two others child dataitems. 

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    94,303 Super User 2025 Season 2 on at
    RE: Report - how to choose dataitem by code?

    Hi, Sorry I may not have fully understood your question. If you want to add filters for 1 parent and 1 child, you can add the filter conditions to the Request Page, and then process these filters in the Data item trigger.

    pastedimage1668472639931v1.png

    More details:

    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-report-triggers?tabs=current%2Crdlc

    report_2D00_triggers_2D00_complete_2D00_flow_2D00_v20.png

    Hope this helps.
    Thanks.

    ZHU

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,791

#2
YUN ZHU Profile Picture

YUN ZHU 2,091 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 2,090

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans