Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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