Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How to Calculate the YTD WIth common sites..Pls find attached sample file.
Can you please explain a bit more about your required output?
have to calculate YTD of those sites which are common in 2012 and 2013 .In the attached file we have different sites but 101,102,103 are common in 2012 n 2013.
Hi Saurabh Wadhwa
Create a variable vstartdate,venddate,vpstartdate,vpenddate and go to settings document properties and select trigger, choose variable event trigger and select venddate and add actions
VSTARTDATE=YearStart(VENDDATE)
VPSTARTDATE==AddYears(VSTARTDATE,-1)
VPENDDATE==AddYears(VENDDATE,-1) and final select in field
date= ='>=' & VSTARTDATE & '<=' & VENDDATE
May be like attached sample ? PFA