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

How to pick out a number from filterpane and connect it to a function for charts? getfieldselection() or getselectedcount()

I created two graphs with,

Count({$<Weekly_Hours={">60"}>} distinct ID)

Count({$<Weekly_Hours={">40"}>} distinct ID)

But want display above in one graph by linking  filterpane number and getfieldselection() or getselectedcount() capture00.png

capture0.png

 

I tried

Count({$<Weekly_Hours> ={">"}+ getselectedcount(WeeklyHourSum)>}  distinct ID)

Count({$<Weekly_Hours= '>' & getselectedcount(WeeklyHourSum)>} distinct ID)

Count({$<Weekly_Hours={">"} + GetFieldSelections(WeeklyHourSum)>} distinct [Personnel Number])

Count({$<Weekly_Hours={ ">" & getselectedcount(WeeklyHourSum)}>} distinct [Personnel Number])

None of them work...  😞

Labels (1)
1 Solution

Accepted Solutions
abhijitnalekar
Specialist II
Specialist II

Hi @nezuko_kamado ,

Please try below expression.

=Count({<Weekly_Hours={"$(='>='&GetFieldSelections(Weekly_Hours))"}>} distinct ID)

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

1 Reply
abhijitnalekar
Specialist II
Specialist II

Hi @nezuko_kamado ,

Please try below expression.

=Count({<Weekly_Hours={"$(='>='&GetFieldSelections(Weekly_Hours))"}>} distinct ID)

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!