Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

How to write expression in ssrs reports in Visual Studio to count total no of emails with direction "inbound"

(0) ShareShare
ReportReport
Posted on by 340

How to write expression in ssrs reports in Visual Studio to count total no of emails with direction "inbound"

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: How to write expression in ssrs reports in Visual Studio to count total no of emails with direction "inbound"

    Ok. Now it is more or less clear. In this case you will have to combine sum and if. Something like here - stackoverflow.com/.../ssrs-conditional-summing

    In your case, you will have to use directioncode in condition, 1 and 0 as results of if.

    Good luck.

  • Sandy Hello Profile Picture
    Sandy Hello 340 on at
    RE: How to write expression in ssrs reports in Visual Studio to count total no of emails with direction "inbound"

    Hi Andrew

    Thanks for your response

    i am looking for total count emails in email activity with direction inbound

    e.g : =Count(Fields!subject.Value,Fields!directioncode.Value = "inbound"), here subject is required field, i am using it for total count of emails.

  • a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: How to write expression in ssrs reports in Visual Studio to count total no of emails with direction "inbound"

    Hello,

    Everything depends on how you query the data, do you plan to use grouping e.t.c. Can you please give more explanation of your scenario?

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…

Vahid Ghafarpour – Community Spotlight

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

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans