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

The average on chart

Hello guys, 

 

How can I add a new line on my chart, to show the average prices of a group belonging to the selected company?

 

I have a list where the user can select a Company.
But each company belongs to a specific group, so I would like to show on a chart the comparison between the company's price and its group.

 

How can I do it?
Thanks

1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

hi 

you can achieve this with something like this ,

avg({<Company,Group=p(Group)>}price)

 

View solution in original post

2 Replies
lironbaram
Partner - Master III
Partner - Master III

hi 

you can achieve this with something like this ,

avg({<Company,Group=p(Group)>}price)

 

brunolelli87
Creator II
Creator II
Author

Thank you so much!

It's exactly what I'm looking for...