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 :
Finance | Project Operations, Human Resources, ...
Answered

Expression some fields showing with sum starting and some fields are showing starting with first

(0) ShareShare
ReportReport
Posted on by 3,110

Expression.png

Hi Experts,

Why some of the expression fields are shown starting with "SUM" and some are shown starting with "First"??(Developing a SSRS report)

Best Regards,

Shabir Ahmad

I have the same question (0)
  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    I'm not sure what you want to hear.

    Some expressions use FIRST() function to get the first value only, other experssion use SUM() function to summarize multiple values to a single one.

  • Shabir Ahmad Profile Picture
    3,110 on at

    Thanks for your response,

    I mean to say i am making RD base report and in dataset expression why some value are showing =First and why some are showing =Sum, let say if i take one value with =sum(Value) in place of =first() for more it clear  value in dataset is =sum(ABC) and i make it =First(ABC) will it affect on value will be shown on Report?

    Best Regards,

    Shabir Ahmad

  • Verified answer
    Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    Let's say the data source has three records, with values 1, 2, and 3.

    =FIRST(Value) returns 1, because that's the value of the first record.

    =SUM(Value) returns 6, because that's the sum of all values (1+2+3).

    If there is a single record only, than the result will be the same, because both expressions will take the value of the single record.

  • Shabir Ahmad Profile Picture
    3,110 on at

    If you can clear one thing is why =sum coming automatically are there is some other reason, why it is not showing =sum  for some values  in dataset  and  other are showing =first .is there any reason??..

    Shabir

  • Shabir Ahmad Profile Picture
    3,110 on at

    Thanks for your reply,

    What was my confusion for last query was, why dataset shows =sum and =first from DP class and tmp class. I cleared myself. When i took int in expression it will give =sum and when i took  string data type in tmp table it gives me =first in expression dataset

    Thanks

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans