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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Quarter Field Values should be First,second

Hi community members,

Is their any way to represent the Quarter field values First, Second, Third and Fourth

instead of 1,2,3,4, can one help me please

Regards,

ramesh

4 Replies
Not applicable
Author

Create a mapping table to map values 1,2,3,4 as First, Second, Third and Fourth and use the applymap to use in your main transaction table.

Not applicable
Author

If it is just in a list box for aesthetic purposes, you can use the Dual() function:

 

=

Dual(
if(Quarter='Q1','First',
if(Quarter='Q2','Second',
if(Quarter='Q3','Third',
if(Quarter='Q4','Fourth')))),Quarter

)

Then you can sort using Match()

its_anandrjs
Champion III
Champion III

Hi,

Create another field some thing like

if('Q' & Ceil(Month(Date) / 3) = 'Q1','First',

if('Q' & Ceil(Month(Date) / 3) = 'Q2','Second',

if('Q' & Ceil(Month(Date) / 3) = 'Q3','Third',

if('Q' & Ceil(Month(Date) / 3) = 'Q4','Fourth',

))))  as NewQuarter,

HTH

Regards,

Anand

Not applicable
Author

can you please give the sample example of mapping, I am unware of the mapping function