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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
sara12
Contributor
Contributor

Exclude filter in Aggr function

Hey all,

I have an aggregation function and I want to exclude the month-filter  (Mois) but it dosn't work.

 

(Sum(distinct{<Mois=,[travaux]={muniserie},[Nom prenom Responsable ]-={'Alex'}>} [CA Global HT]), Id_stock))

 

 

If anyone can help me solve this problem, I'd be very grateful.

 
Labels (2)
1 Solution

Accepted Solutions
marcus_sommer
MVP
MVP

Your expression-code doesn't look complete. I assume a leading sum(aggr or similar is missing. If so you may need to apply the condition to the outer aggregation, too - maybe like:

sum({ condition } aggr(sum({ condition } Field), Dim))

View solution in original post

2 Replies
marcus_sommer
MVP
MVP

Your expression-code doesn't look complete. I assume a leading sum(aggr or similar is missing. If so you may need to apply the condition to the outer aggregation, too - maybe like:

sum({ condition } aggr(sum({ condition } Field), Dim))

sara12
Contributor
Contributor
Author

It works, thank you.