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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
ch_riadh
Partner - Creator II
Partner - Creator II

Quarter Function

i wrote the quarter function : 'Q' & Ceil (Month(Date)/3) AS Quarter,

But It  SHowed me :

   temp.png

I Don't want to see the Q,
i need Only Q1, Q2, Q3 and Q4.

Thank Guys.

1 Solution

Accepted Solutions
its_anandrjs
Champion III
Champion III

It seems correct can you share app or you can do some change in the load script

Load

If( Len( 'Q' & Ceil (Month(Month)/3) >1, 'Q' & Ceil (Month(Month)/3) ) as Quarter

From Source;

Regards

Anand

View solution in original post

5 Replies
MK_QSL
MVP
MVP

Instead of using FieldName Quarter in List box use expression and use below

=if(Len(Quarter)>1, Quarter)

its_anandrjs
Champion III
Champion III

It seems correct can you share app or you can do some change in the load script

Load

If( Len( 'Q' & Ceil (Month(Month)/3) >1, 'Q' & Ceil (Month(Month)/3) ) as Quarter

From Source;

Regards

Anand

ch_riadh
Partner - Creator II
Partner - Creator II
Author

where i have to write this expression ?

sujeetsingh
Master III
Master III

In the Calender where you are using Quarter function and derieving the Quarter field, and using  in the ListBox image, just use the expression

If( Len( 'Q' & Ceil (Month(Month)/3) >1, 'Q' & Ceil (Month(Month)/3) ) as Quarter

ch_riadh
Partner - Creator II
Partner - Creator II
Author

Thanks