Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Multiple DataItem messing up report

(0) ShareShare
ReportReport
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 74,036 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,748 Super User 2024 Season 1 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,748 Super User 2024 Season 1 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

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