Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Formulas in Charts doesn't show correct value

Hello,

I am trying to show a formula value in chart, but it doesn't show corect value.

Y have a "Month" as Dimension, and a formula as Expession.

The formula in a text object shows the correct value making any filter. But in chat changes values and graph.

Example for the "current ratio":

Jan: 1.61

ene.jpg

Feb: 1.58

feb.jpg

Mar: 1.65

mar.jpg

13 Replies
Not applicable
Author

Hello,

No, the value in both the TB and Char should the the same as the TB shows.

I solved this problems.

I am trying to get a relation between two cumulative values but using Formula in chart and TB. So, the problems was there. The range in the formula is confused when I use 'month' as dimension.

I accumulated values in the QVD file and I use the same formula but without the range.

sunny_talwar

So everything is working now?

Not applicable
Author

Yes it is, thank you for you help.

I used this formula:

sum({<BalanceFinal.nvl1 = {'10'}, BalanceFinal.nvl2 = {'10'}>}BalanceFinal.Monto1)

/

(sum({<BalanceFinal.nvl1 = {'20'}, BalanceFinal.nvl2 = {'30'}>}BalanceFinal.Monto1)*-1)

The chart is about the current year.

Screenshot_1.jpg

sunny_talwar

Great

I am glad we all were able to help you in some way or the other