Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

How to print a dataset in report footer

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

It seems that in SSRS (SQL 2008) a data bound Tablix(Table) is not allowed on a report footer.

I have a requirement to print dataset with multiple rows on report footer.

Has anyone come across similar situation or have an idea how to achieve this?

Many thanks

Nag K

 

 

*This post is locked for comments

  • Nana Sutrisna Profile Picture
    Nana Sutrisna 65 on at
    RE: AX2012 SSRS - How to print a dataset in report footer

    Hello Kent

    I have the same problem, can you please explain "hide data in report details".

    Thankyou

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: AX2012 SSRS - How to print a dataset in report footer

    Hi Volker,

    I have added a custom function, however i am not able to access that function from an expression.

    Do you know what could be the reason for this?

    Thank you

  • Re: AX2012 SSRS - How to print a dataset in report footer

    Hi Nag,

    I haven't done this before for footers and it doesn't seem to be easy to find something about it online.

    blogs.msdn.com/.../using-group-variables-in-reporting-services-2008-for-custom-aggregation.aspx

    There Robert Bruckner used an ArrayList for caching (well, it's a list, you can add values and get them out again).

    What you'd need to check first is which elements are available for footers and if you are able to use tables / tablixes there (don't think so). You might be forced to simulate a table then with textboxes or something...

    That's going to be a tough one, you should ask yourself if it's really necessary. I think it's at least very uncommon to show a table with varying row count in report footers.

    Regards.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: AX2012 SSRS - How to print a dataset in report footer

    Hi Volker,

    Thanks for your reply.

    There could be upto 15 rows to display in footer.

    Could you give me some pointers regarding the VB code you are referring to and sample if you have one.

    Nag

  • Suggested answer
    Re: AX2012 SSRS - How to print a dataset in report footer

    Hi Nag,

    do you know how many rows there are? The footer has a fixed size, so it's very difficult to manage this if you don't know the row count. Although the size should be settable by code...

    It's possible to write some VB code to keep the data (e.g. ArrayList) you run through in detail and use it in the footer afterwards.

    Good luck! :)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: AX2012 SSRS - How to print a dataset in report footer

    Hi Kent,

    Thanks for your reply.

    I tried that, and textbox in footer shows just one value.

    I need to print many rows from the dataset, instead of First or Last.

    Is it possible?

    Nag

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: AX2012 SSRS - How to print a dataset in report footer

    Hi Nag,

    I've had this requirement as well.  The solution I used was to hide the data in the detail of the report and then reference these fields in the footer.

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

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,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans