Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calcul entre deux expressions

Bonjour,

j'ai réalisé un TCD avec :

en dimension les mois de l'année

et en expressions :

Sum ({$<the_year={2003}>}[OrderQty])      /// (production 2003)

et Sum ({$<the_year={2004}>}[OrderQty])       /// (production 2004)

soit en première collonne les mois de l'année, en deuxième la production (order qty) pour 2003 et en troisième la production pour 2004. j'aimerai en 4 ième colonne réaliser la sous traction entre la production 2004-2003 et en cinquième le pourcentage (production 2004/production2003) mais je n'y arrive pas...

Merci d'avance.

1 Reply
oknotsen
Master III
Master III

Google translate is giving me a challenge here, so I hope I understood you correct.

What you want to do is calculate the difference between the columns that contain the 2004 and the 2003 information?

If so:

Assuminging 2003 is column 2 and 2004 is column 3, try this:

= column(3) - column(2)

I think to understand that you also want to have the percentage of growth. If so, try this:

= column(3) / column(2)

If I translated this wrong, please give me an example with some data so I can easier understand you.

May you live in interesting times!