Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Getting Sum of an expression in a textbox of table present in the design of a SSRS report.

(0) ShareShare
ReportReport
Posted on by 149

Hi,

Thanks in advance.

I have a SSRS report in which I have added a table in design. In one of the table textbox I have an expression shown below.

IIF(sum(Fields!Qty.Value)=0,0,
(sum(Fields!QtyTwo.Value)-sum(Fields!Qty.Value))/(sum(Fields!Qty.Value)))

The row here in this table is grouped by itemId. So it will show multiple rows for different itemid and each itemid will have an output for this expression mentioned above. 

I want to get the sum of the output of this expression for all itemId at the bottom of the table in the report design. 

Thanks.

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: Getting Sum of an expression in a textbox of table present in the design of a SSRS report.

    Hi Apratim,

    Try adding the row and outside of the group and check.

    Just select the last row and select "Insert row >> Outside group below - On that group you can write expression for the totals irrespective of the groups.

    Thanks,

    Girish S.

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

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans