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: 
Karim_Khan
Creator III
Creator III

YTD calulation

Hi Team,

    I want YTD calculation on the basis of Monthly selection

KK
Labels (1)
23 Replies
Karim_Khan
Creator III
Creator III
Author

No Sir,Its not working I have the Fiscal Period ID only

KK
MK_QSL
MVP
MVP

Provide your sample qvw please

Karim_Khan
Creator III
Creator III
Author

KK
MK_QSL
MVP
MVP

While Loading data in script define FiscalPeriodID as below

Date#(FiscalPeriodID,'YYYYMM') as FiscalPeriodID

Now use the same which I have provided...

Karim_Khan
Creator III
Creator III
Author

But I already have field with the same name won't it give an error

KK
MK_QSL
MVP
MVP

FiscalPeriodID need to be used only once, so use only this...

Date#(FiscalPeriodID,'YYYYMM') as FiscalPeriodID

Karim_Khan
Creator III
Creator III
Author

Untitled.png

KK
MK_QSL
MVP
MVP

It should be

[Fiscal Period ID]
Karim_Khan
Creator III
Creator III
Author

sorry

KK
Karim_Khan
Creator III
Creator III
Author

Untitled2.png

KK