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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Graphic Error Percentage

Hi!

I'm trying to create a graphic of trend of costs in each month, where:

  1. Column 1 reports costs for each month of 2011;

  2. Column 2 reports costs for each month of 2012;

  3. Column 3 reports the difference between costs of 2011 and 2012;

  4. Column 4 reports the difference between costs of 2011 and 2012 in percentage;

When cost of 2012 is null, I'd like to show the cost has decreased by 100%.

Can anybody help me to fix my expression? Maybe with the example attached.

Thank you for any help you can provide in this situation.

Regards,

Andrea

Labels (1)
4 Replies
Anonymous
Not applicable
Author

Hello Andrea!

Why doesn't it work?

If 2012 is 0 the ratio 2011/2012 it is impossible to be calcuated.

What would you like to display?

Not applicable
Author

Hi Elena,

I'd like to show the cost has decreased by 100%.

Thank you for your help!

Anonymous
Not applicable
Author

Oh yes!

Can you check the attachment?

PS: maybe replace <100% with -1 in my expression, in order to be coherent with other % values... sorry.

Not applicable
Author

Thank you for your help!