Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have a listbox. And If I select 1 field in thes listbox I would like to get that value in a variable.
I'm trying wwith Document Properties -> Triggers -> Field EventTriggers -> On select.
What should I write in the value-field?
Regards,
Kris
instead of =Stationid
try
=GetFieldSelections(Stationid)
or
= only(Stationid)
I assume Stationid is a field in the tables.
instead of =Stationid
try
=GetFieldSelections(Stationid)
or
= only(Stationid)
I assume Stationid is a field in the tables.
Hi Mario,
StationId is the Id of the Station_Name (Name_eigen)
So If I select 1 station I would like to put the Id in the variable.
But both your solutions doesn't work for me.
What happens if you put = only(Stationid) in a textbox?
Thank you both to help me find the solution.
The only()-function is working. I was looking to a wrong field.
Regards,
Kris
Hi, A next question.
Why do I get no value in my textfield?
Regards,
Kris
Try this
=avg({<stationid={"$(=vEigenStation)"}>}DagPrijs)
Thanks! this is working fine.
But now I would like to fil up the whole AVGPrijs-colum with that value
How should I do this?
I don´t understand, you want fill all values, including values not selected by vEigenStation?
Yes, but I have found the solution here
http://community.qlik.com/message/694824?et=watches.email.thread#694824
Regards,
Kris