Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

SSRS and Fetch xml, how to check the year dynamically?

Posted on by 580
Based on the date column will create dynamically(aggregate function I used) Date from  01-01-2016
Date To 31-12-2018
Report 2016 2017 2018
How to count the value based on the year (Count A) ????? Count A 1 2 3
=SUM(IIf(Fields!FieldA.Value<>"ABC",1,0)) how to check the year dynamically Count B 3 2 1
Total 4 4 4

*This post is locked for comments

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: SSRS and Fetch xml, how to check the year dynamically?

    In SSRS you can create a Calculated Field that uses the Year function to get the year from a date column. You can then use this Calculated Field in the report. For the output you want, you can create a Column Group based on this field

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans