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

  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at
    RE: total value of 2 or more dataset

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

  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at
    RE: total value of 2 or more dataset

    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"))

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans