Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
rathnam_qv
Creator
Creator

YTD,MTD

Hi all,

i have data from 2011 to till date, from that how to Calculate YTD,MTD values...provide me Set analysis Expressions for that please...

Thanks in advance!!!

Smiley

Labels (1)
2 Replies
tresB
Champion III
Champion III

Have a look here

Not applicable

hi

try this hope this helps you

for ytd--

sum({<Date={">=$(=yearstart(max(Date)))<=$(=max(Date))"},year=,month=>}sales)

for mtd--

sum({<Date={">=$(=Monthstart(max(Date)))<=$(=MonthEnd(max(Date))),year=month=>}sales)

Regards

vishwaranjan