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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

chart problem

Hello everybody,

I have a little problem with the expression of my chart. I want to have the total of my expression 'IS' but with aggr() fonction it doesn't work! (I think it's because I have a log() in my expression!?).

I want to have the total in total case or in all case as my precedent expression. I have the same problem for the two charts of my qvw.

I put my qvw in attach, perhaps you can help me?

Thank you a lot and have a good day

Budny Quentin

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try:

=sum(aggr((( sum(comptage)/sum(total <lib_var,MOI_DEC>comptage))  -   sum(valeur_calcul) )

*

log(   ( sum(comptage)/sum(total <lib_var,MOI_DEC>comptage) )  /    sum(valeur_calcul)   )

,lib_var

,valeur

,valeur_calcul

,MOI_DEC))


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try:

=sum(aggr((( sum(comptage)/sum(total <lib_var,MOI_DEC>comptage))  -   sum(valeur_calcul) )

*

log(   ( sum(comptage)/sum(total <lib_var,MOI_DEC>comptage) )  /    sum(valeur_calcul)   )

,lib_var

,valeur

,valeur_calcul

,MOI_DEC))


talk is cheap, supply exceeds demand
Not applicable
Author

Beautifull Gisbert,

It's exactly what i want!!!!!

Thank you so much,

Quentin