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 CRM (Archived)

total value of 2 or more dataset

(0) ShareShare
ReportReport
Posted on by 203

Hello,

I have one requirement i.e  I have 2 fields which are "A" and "B"

Both are coming from a different  dataset and table  

i want the total of these 

I have used exp =Sum(Fields!new_A,value,"DataSet1")+Sum(Fields!new_B.Value, "DataSet2")

but it is showing wrong value please help 

I am using a crm online version

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    Hi Akshay,

    Have a look here : docs.microsoft.com/.../bb630415(v=sql.100)  

    I think you need to do a nested sum i.e =Sum(Sum(Fields!Debit.Value,"Details1")+Sum(Fields!Credit.Value,"Details1"))

  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    or simply on the column where you want the sum = just add expression as =(Fields!new_A,value,"DataSet1") + (Fields!new_B.Value, "DataSet2")

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans