Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

Text Box

I have a text box and I have following command typed in it

= VEHICLE_TYPE

When I select Vehicle Type from a List  box the relevant vehicle type appear in my text box  correctly. But when I do not select any vehicle type from my list box I want to 'ALL VEHICLES' to appear in my Text Box. Pls help me how to do it

1 Solution

Accepted Solutions
danieloberbilli
Specialist II
Specialist II

copy the following in your textbox (including the equal sign at the beginning):

=if(GetSelectedCount(VEHICLE_TYPE)=0,'ALL VEHICLES',VEHICLE_TYPE)

Kind Regards

Daniel

View solution in original post

13 Replies
preminqlik
Specialist II
Specialist II

hi try this

=Concat(VEHICLE_TYPE,chr(13))

upaliwije
Creator II
Creator II
Author

Then All vehicles are listed. What I want is to 'ALL VEHICLES' as one word to appear in Text Box

danieloberbilli
Specialist II
Specialist II

copy the following in your textbox (including the equal sign at the beginning):

=if(GetSelectedCount(VEHICLE_TYPE)=0,'ALL VEHICLES',VEHICLE_TYPE)

Kind Regards

Daniel

upaliwije
Creator II
Creator II
Author

Thanks Both of You

upaliwije
Creator II
Creator II
Author

Dear Danial

Will you please help me also how to blink the text in text box

danieloberbilli
Specialist II
Specialist II

what do you mean with 'blink'?

sasikanth
Master
Master

HI

Increase the Boarder and shadow in Layout tab

upaliwije
Creator II
Creator II
Author

I mean Text (Vehicles Type)  to blink  like flashing a light

PrashantSangle

Hi,

To acheive this requirement, go for macro or use extension object.

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂