BookmarkSubscribeRSS Feed
avinesh
Fluorite | Level 6

How to calculate DTD, MTD, YTD calculation in a single section of VA 6.4?

1 REPLY 1
PeterWijers
Lapis Lazuli | Level 10

Dear avinesh,

One of the options is to create a new calculated field that results in YTD. You can use this new value for reporting.

Example YTD:

YTD.png

The New calculated item YTD will only be filled if the DayOfYear is less/equal of actual DayOfYear

YTD_R.png

Of course it all depends on the way you want to show your results and how your definitions of YTD etc. exactly are.

For MTD you can add that also the months are equal.  etc.ect.

Greetings and good luck.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 4742 views
  • 1 like
  • 2 in conversation