Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

text change whilt click on it.

hello everyone,

i have text object & i want to show PRODUCTION as well as SALES as text. when i click on Production it will change to Sales.

How to write expression i am not getting. please help me to find out.

Thank You...

18 Replies
stabben23
Partner - Master
Partner - Master

Then

=if(vshow=1,'SALES ' &Sum(Sales), 'PRODUCTION ' &Sum(Production))

Anil_Babu_Samineni

Just use work around for Variables? In that, 0 means hidden and 1 means present. So, You can manipulate where and what as per business

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
t_chetirbok
Creator III
Creator III

=if(vShow=0,'Production: '&sum(Production),'Sales: '&sum(Sales))

if not maybe you can send a picture of what you want to have

Anonymous
Not applicable
Author

i solve it by myself...

i have used text box & created one variable vfilter and value 1

for production:

in action>set variable> vfilter and value 1 & in conditional vfilter=0

for sales:

in action>set variable> vfilter and value 0 & in conditional vfilter=1

Thanks for giving your valuable time..

t_chetirbok
Creator III
Creator III

so, did you use two text objects?

Anonymous
Not applicable
Author

yes

t_chetirbok
Creator III
Creator III

for future, try to describe your task more detailed

Anonymous
Not applicable
Author

i already describe in detailed.

t_chetirbok
Creator III
Creator III

be sure, if you did that, people here would easily give you the answer. It was the easiest question, and you got the answer on question that you asked