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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

urgent help needed

Plez I need urgent help to find the quaterly sales of the country. I did the following things,

  Year(OrderDate)as OrderYear,

     year(OrderDate)& month(OrderDate)as MonthYear,

     Year(OrderDate) & Ceil(Month(OrderDate)/3) as YearQtr,

     RequiredDate,

any link or website with detail of edit script will be more welcome

thank you

Labels (1)
1 Solution

Accepted Solutions
jpapador
Partner - Specialist
Partner - Specialist

'Q' & Ceil(Month(Date)/3) as Quarter,

Dual('Q' & Ceil(Month(Date)/3) & '-' & Year(Date), Year(Date) & Ceil(Month(Date)/3)) as QtrYear,

Date(MonthStart(Date), 'MMMYYYY') as MonthYear

Try that.  Replace "Date" with "OrderDate"

View solution in original post

2 Replies
jpapador
Partner - Specialist
Partner - Specialist

'Q' & Ceil(Month(Date)/3) as Quarter,

Dual('Q' & Ceil(Month(Date)/3) & '-' & Year(Date), Year(Date) & Ceil(Month(Date)/3)) as QtrYear,

Date(MonthStart(Date), 'MMMYYYY') as MonthYear

Try that.  Replace "Date" with "OrderDate"

Not applicable
Author

Thanks you so much jpapador.Really appreciated.