Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

image

Hi All,

iam using bar chart which has a expression , my requireemnt is to display an image when there is no data .

to achieve this i have created an variable which has the expression of the bar chart vShowimage= sum(tablets ) , and undert text object i have taken the image , and have enabled the condition in which i have addedd this expreesion

if (vshowimage<=o, true(), false()) .. after doing this i am not able to get the proper result , when i aply ok this image dont appear when the bar chart has no data .

Can someone help me on this

Tahnks

1 Solution

Accepted Solutions
Anil_Babu_Samineni

It''s seems variable problem, What is the variable problem??

=if($(vshowimage) <=o, true(), false())

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

View solution in original post

7 Replies
yasmeenk
Partner - Creator
Partner - Creator

Hi John,

Try like this in Conditional Expression,

=if(vshowimage<=0,1,0)

fashid
Specialist
Specialist

Hi,

under text object layout show conditional u need to mention the expression $(vShowImage)

and create a variable vShowImage by writing expressions =if(Sum(Tablets)<=0,1,0)

regards,

nadeem

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

May be like this?

Check in table box which are having zero value.make selection on id those are having Zero.

To Get get this u have to use Layout tab Conditional show.

Ihope this may helps ypu.

-Nagarjun

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

If u do not want any selection, leave it, based on ur data , it will show to text box on ur Chart.

-Nagarjun

Anil_Babu_Samineni

It''s seems variable problem, What is the variable problem??

=if($(vshowimage) <=o, true(), false())

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
smilingjohn
Specialist
Specialist
Author

Thanks Anil

Its working now

jsenivifor
Contributor III
Contributor III

Hi,


One solution would be to create three overlapping objects. It is not very nice but you can help.


Good Luck!