Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

calculated dimension query?

Hi Everyone ,

I have following columns:- name, employee id , joining date, resigned date, days worked i.e.(resigned date - joined date)

now i want to show in a funnel chart or pie chart, percentage of guys who resigned with dimension being junior, intermediate, seniors (based on days worked if less than 365 then junior, more than 1000 then senior else intermediate)

Can anyone explain me what should i use dimension , ithink i need to use calculated dimension ,, but i am getting the desired result

1 Solution

Accepted Solutions
Not applicable
Author

Use Calsulated dimension as

if((resigned date - joined date)<=365,'Junnior'

if(((resigned date - joined date))>365 and ((resigned date - joined date)<1000), 'Intermediate'

if(((resigned date - joined date))>1000 , 'Intermediate' , ''

)

)

)

Regards

Arun Goel

View solution in original post

3 Replies
Not applicable
Author

Use Calsulated dimension as

if((resigned date - joined date)<=365,'Junnior'

if(((resigned date - joined date))>365 and ((resigned date - joined date)<1000), 'Intermediate'

if(((resigned date - joined date))>1000 , 'Intermediate' , ''

)

)

)

Regards

Arun Goel

Not applicable
Author

Thanks that works well . One more thing can you explain value list in this context if applicable here.

Not applicable
Author

Sorry..didt get you....??