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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
krish2459
Creator
Creator

Median

Hi,

 

I want to calculate the Median for the my count(sales orders ) over Month.

 

I tried 

median(aggr(count([Sales Order]),[Sales Order]))

but I'm getting only one as median for all months.

 

Attached is the sample data file.

 

 

Thanks..

Labels (2)
1 Solution

Accepted Solutions
Frank_Hartmann
Master II
Master II

try this:

median(aggr(count([Sales Order]),FSD))

 

or this:

aggr(median(aggr(count([Sales Order]),FSD)),Month)

View solution in original post

1 Reply
Frank_Hartmann
Master II
Master II

try this:

median(aggr(count([Sales Order]),FSD))

 

or this:

aggr(median(aggr(count([Sales Order]),FSD)),Month)