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: 
NavinReddy
Creator II
Creator II

Help YTD,MTD,QTD

Hi community,

Could some help me

I want to know YTD,MTD,QTD

some one explain me with one example,im using persional edition

how can we use these and apply

with one excel sheet

Thanks in Advance

rohith

Labels (1)
4 Replies
NavinReddy
Creator II
Creator II
Author

Hi mohit,

i already gone through that i can't able to understand

if any some example

thanks,

rohith

er_mohit
Master II
Master II

ok then load this excel file

and in script write

LOAD

date(Date,'MMM-YYYY')AS DATE,

date(Date,'DD-MM-YYYY')AS Date,

MONTH(Date)as Month,

Year(Date) as Year,

     Sale

FROM

(ooxml, embedded labels, table is Sheet1);

and then use one bar chart for YTD

use dimension DATE for both bar chart

write expression

//YTD:

sum({<Date = {">=$(=YearStart(max(Date))) <=$(=max(Date))"},Year =, Month = >} Sale)

and one bar chart for MTD

Sum({<Date = {">=$(=MonthStart(max(Date))) <=$(=Monthend(max(Date)))"}, Year =, Month = >} Sale)

tresB
Champion III
Champion III

Learnt YTD, MTD, QTD here in general, Then to achieve the same in QV read this .

NavinReddy
Creator II
Creator II
Author

Hi mohit,

Thank you very much

Plz find the attachment,let me know if i roung

Thanks,

rohith