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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Not aggregation by dimension

Good day!

Is  any way to solve such task.

I have pivot table with dimension Sales Point and YearMonth.

My expr: sum(Volume)/count(Distinct [Sales Point])

I need: sum(Volume) to aggregate by YearMonth,

           count(Distinct [Sales Point]) not aggregate by YearMonth

Thanks.

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Perhaps sum(Volume)/count(total <[Sales Point]> Distinct [Sales Point])


talk is cheap, supply exceeds demand
tresesco
MVP
MVP

Like this?

sum( Total <[Sales Point]> Volume)/count( Total <YearMonth> Distinct [Sales Point])