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)

[SSRS]: Row Number in Footer

(0) ShareShare
ReportReport
Posted on by 1,264

Hello Community,

I was wondering if there was a way to get the Number of rows inside a footer.

I tried the RowNumber function but it is giving an error as it is not allowed to use it inside a footer or header

thank s a lot for your help,

Kind Regards,

Jihane

*This post is locked for comments

I have the same question (0)
  • Verified answer
    syed baber Profile Picture
    11,633 on at

    Hi Jihane,

    The header and footer sections are used to display the single row data such page number, invoice date, invoice number etc which is common for the whole report and does not have different values based on each record. This is the reason, you can't put table control inside header and footer section. I hope you understand my point.

    Considering the above, if you can let me know what are you trying to achieve, may be I would be able to suggest you better solution.

    Thanks,

    Baber.

  • Verified answer
    Community Member Profile Picture
    on at

    Since RowNumber() function can only be used in the report body to retrieve the number of rows in the specified scope, we could not use it in either the Header or Footer area.

    We could use other counting function such as CountRows() or Count() to retrieve the number of rows returned for the dataset.

    =CountRows("MyDataset")

    OR

    =COUNT(Fields!Name.Value)

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