Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
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

1 Solution

Accepted Solutions
jpapador
Valued Contributor

Re: urgent help needed

'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"

2 Replies
jpapador
Valued Contributor

Re: urgent help needed

'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

Re: urgent help needed

Thanks you so much jpapador.Really appreciated.

Community Browser