Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
madnanansari
Creator
Creator

Set Analysis - YTD Sales

I have a master calendar which has the below values :

Date

Year

Month Year

Hijri Date

Hijri Year

Hijri Month Year

I can calculate the current year sales as below:

Sum({$<[Date] = {"<=$(=Today()-1)"},[Year]={"$(=Year(Today()))"}  [Sales])


I have a requirement to produce current Hijri Year sales. How can i write a similar set analysis function as above for it?


1 Solution

Accepted Solutions
madnanansari
Creator
Creator
Author

your solution is not helpful for Hijri Calendar. All the functions which Qlik provides for Gregorian calendar are not applicable for Hijri.

View solution in original post

2 Replies
Anil_Babu_Samineni

Yes, you can use

YTQ, QTD, MTD and WTD

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
madnanansari
Creator
Creator
Author

your solution is not helpful for Hijri Calendar. All the functions which Qlik provides for Gregorian calendar are not applicable for Hijri.