Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Charts with aggr function

Hi everyone,

I have the simple attached app, I want to be able to create bar chart or pie chart to see the median of values per category for each ID in each city. Can someone please help? Should use two aggrs but not sure how I can do it and display in charts

Thanks!

1 Solution

Accepted Solutions
settu_periasamy
Master III
Master III

May be like attached?

You can concat the City & ID in the calculated dimension and put the expression 'Median(Value')

Capture.JPG

View solution in original post

4 Replies
Not applicable
Author

I also want to be able to do filtering by ID after creating the charts...

Not applicable
Author

Hi,

Are you able to provide a screenshot of what the end result should look like.

settu_periasamy
Master III
Master III

May be like attached?

You can concat the City & ID in the calculated dimension and put the expression 'Median(Value')

Capture.JPG

muthukumar77
Partner - Creator III
Partner - Creator III

Hi,

Yes we need to use two dimension. Use expression like this,

aggr(median(Value),ID,City)

Muthukumar Pandiyan