Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
yoganantha321
Creator II
Creator II

Deselect in bar chart

I have used the following expression and one field as dimension in bar chart.

Dimension:   

Field 1: =IF( MonthlyWorkHour>7, 'Occupied',  IF(  MonthlyWorkHour>3 and MonthlyWorkHour<8, 'Partially Occupied',  IF( MonthlyWorkHour<4,  'Available' )))

Field 2: Project Name

Expression: count (Employee Id)

I got the output as

Capture.PNG

When I selected partially occupied, the single bar highlights and again selected it bring backs to the original position like below

partilal.PNG          Capture.PNG

but while selecting on the other two namely Occupied and Available I cannot get back to the original status as shown in first image

Regards,

Yoganantha Prakash G P

1 Solution

Accepted Solutions
Anonymous
Not applicable

hi,

Better you can use this expression  as a field of table and place it in any dimensional or fact table  IF( MonthlyWorkHour>7, 'Occupied',  IF(  MonthlyWorkHour>3 and MonthlyWorkHour<8, 'Partially Occupied',  IF( MonthlyWorkHour<4,  'Available' )))  then it will change according what you select

View solution in original post

1 Reply
Anonymous
Not applicable

hi,

Better you can use this expression  as a field of table and place it in any dimensional or fact table  IF( MonthlyWorkHour>7, 'Occupied',  IF(  MonthlyWorkHour>3 and MonthlyWorkHour<8, 'Partially Occupied',  IF( MonthlyWorkHour<4,  'Available' )))  then it will change according what you select