web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to print a dataset in report footer

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    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.

  • Community Member Profile Picture
    on at

    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
    Volker Breitkopf Profile Picture
    on at

    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
    on at

    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

  • Volker Breitkopf Profile Picture
    on at

    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
    on at

    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

  • Nana Sutrisna Profile Picture
    65 on at

    Hello Kent

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

    Thankyou

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans