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

how to select multiple fields when click only one particular bar chart

Hello All

How to select two diff fields on clicking a bar chart,wat i mean is

let say if i got data like below

LocationgovesamplingdtsQUES
chanderia12102/22/201620
dr1422/21/201630
HP55331/1/201640
chanderia11772/22/201540
dr20442/21/201550
HP33301/1/201560

so in one bar chart i am showing

Dimension:Location

Expression: firstsortvalue(gove,-dts)

Untitled.png                              

on selecting any bar i  will get this:

Untitled.png

so what i am looking when i select only this bar chart i need the field  gove should also getselected

what should i need to do achieve this task ...

thanks

naveen

14 Replies
sunny_talwar

You can probably explore alternate state to do this for this specific chart.

kunkumnaveen
Specialist
Specialist
Author

finally i achieved what i am looking by applying cross table function...

one last help plz

i am trying to show a text box which should enabled only when

location=1 and quality='gove'

other then that it should be hidden

so in text box layout

i tried by write this

=getselectcount(location)=1 and how to write the other expression

sunny_talwar

This expression

=FirstSortedValue({<quality={gove}>},-dts)

is not right because your have not specified what are you finding the first sorted value of?

=FirstSortedValue({<quality={gove}>}FieldName,-dts)

kunkumnaveen
Specialist
Specialist
Author

yes ur correct,i sorted that

finally i achieved what i am looking by applying cross table function...

one last help plz

i am trying to show a text box which should enabled only when

location=1 and quality='gove'

other then that it should be hidden

so in text box layout

i tried by write this

=getselectcount(location)=1 and how to write the other expression

sunny_talwar

May be like this:

=GetSelectedCount(location)=1 and quality = 'gove'