Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

Multiple DataItem messing up report

Posted on by Microsoft Employee

I am creating a report. I started with just one dataitem with bunch of columns. Everything was working fine. Underneath that I put in another dataitem set that is pulling from the Sales Invoice line. When I entered this in and then ran the report again, one of the fields just started repeating over and over.

pastedimage1647634190134v1.png

you can see in the picture what I mean. Can anyone help?

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Multiple DataItem messing up report

    This does help. Thank you! By the way Yun Zhu, your site has been instrumental in my learning. Keep it up!

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 70,059 Super User 2024 Season 2 on at
    RE: Multiple DataItem messing up report

    Hi, It looks like you are showing all the values.

    If you have only one Header data, try First function.

    pastedimage1647910187532v1.png

    If you have multiple Header data, try to use Get Data and Set Data.

    https://docs.microsoft.com/en-us/dynamics-nav/how-to--print-report-header-information-on-multiple-pages

    https://www.youtube.com/watch?v=LXPsbZeiS5w

    pastedimage1647910210982v2.png

    Hope this helps.

    Thanks.

    ZHU

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Multiple DataItem messing up report

    Here is the layout. I also changed the properties on these fields so that HideDuplicates is set to DataSet_Result. That stopped some form repeating, but when I import and run the report I get 34 pages. It needs to be just 1.

    pastedimage1647878080516v2.png

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    RE: Multiple DataItem messing up report

    Then you can probably share your rdlc layout here. Then it is easier to see.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Multiple DataItem messing up report

    I am using rdlc layout

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    RE: Multiple DataItem messing up report

    Then you have placed the fields in a repating section of your report layout.

    Are you using a word layout or rdlc layout?

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,556 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,625 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans