Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
nicouek
Creator
Creator

Calendar Quarter

Hello the community,

I am getting this, and wanted to ask if anyone could help me understand what is going on, and help me resolve the issue with my data. thank you

>Getting more than Four (4) quarters...

nicouek_0-1688518582360.png

nicouek_1-1688518693045.png

 

Quarter is cutting of @4/2/2009

Thank you

Labels (1)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master
Partner - Master

Try:

'Q' & Ceil(Month("Order Date") / 3)

View solution in original post

4 Replies
BrunPierre
Partner - Master
Partner - Master

Try:

'Q' & Ceil(Month("Order Date") / 3)

nicouek
Creator
Creator
Author

Hello, Pierre 

tried that it did not work.

Thank you

simsa
Contributor III
Contributor III

Hi @nicouek ,

Can you check your date format, looks like what @BrunPierre  mentioned is correct?

simsa_0-1688845574258.png

Result: 

simsa_1-1688845606565.png

 

nicouek
Creator
Creator
Author

Good morning everyone,

Thank you very much for all of your input, updated the scripts this morning and everything seem to work per all of your recommendations. Thank you

This was my process:


'Q' & Ceil(month([Order Date]) / 3) as Quarter --> This setup gave me and extra here "Q"; Q1; Q2; Q3; Q4.       ([Order Date] FORMAT = M/D/YYY)


If(Isnum([Order Date]), 'Q') & Ceil(month([Order Date]) / 3) as Quarter --> Q1; Q2; Q3; Q4


If(Isnum([Order Date]), 'Q') --> Removed the extra 'Q' I did not want

nicouek_1-1688904347992.png

nicouek_2-1688904455200.png

Thank you All