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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
pgalvezt
Specialist
Specialist

"There is not data to show"

Hi all, I comment you that I have a Dashboard that shows different values of production. In some cases this value gives Zero. So, How you know any values divide by 0 is Error. My formula is Charge divide by Production. For visual efects, this massage "There is no data to show" is not very nice for the customer. Is there another way to change that in QlikView. Simply a 0 for example.

Thanks!

1 Solution

Accepted Solutions
Not applicable

realised you can do this without the need for the dummy expression and just use the conditional calculation instead, please see attached example should work fine for you now

thanks

Joe

View solution in original post

8 Replies
jagannalla
Partner - Specialist III
Partner - Specialist III

Your expression is now like this ... =5/0

- 5 is coming from one field and 0 is coming from another field. Then write your expression as below

Write now i have taken example with straight table object..

=if(F3=0,'Error',F2/F3)

Result will be ...

Capture.PNG

- May be it helps you.

Not applicable

Try using Chart Properties ->General -> Error messages.

Kiran.

Not applicable

Hi there,

have a look at this thread

http://community.qlik.com/message/145485#145485

you can use a dummy expression and calculated condition to change the error message you see within the chart, to one that is editable as you see fit

hope that helps

thanks

Joe

rrsrini2907
Creator
Creator

I think you cannot override error message for divide by zero.

Regards,

Srini.

pgalvezt
Specialist
Specialist
Author

Thank you all for your replies!

J Simmons The solution that you gave me worked perfectly, but when the result is valid for example 3/3 = 100%. That condition change the result to 0%.

Any suggestion?

Thanks again.

Not applicable

hmm post your updated qvw and I'll take a look no worries

thanks

Joe

Not applicable

realised you can do this without the need for the dummy expression and just use the conditional calculation instead, please see attached example should work fine for you now

thanks

Joe

pgalvezt
Specialist
Specialist
Author

Thanks!!