Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
satheshreddy
Creator III
Creator III

hi every body

hi,

how to find out avg in chart.

i have table columns are

eid,ename,did,salary

i take a filter of eid

select the eid value then to display the that particular did sum(salary) and also avg of that particular did salary.

kind regards

esreddy

Message was edited by: s r

1 Solution

Accepted Solutions
Anonymous
Not applicable

ohhh

Create an application, load the excel you have attached with scripts

now in front end

Create a variable in the settings>variable Overview> add

vListDID and define it as below

=Concat(distinct DID,',')

and then finally create

Create a pivot with DID as dimension

sum({1<DID={$(vListDID)}>}SALARY)

avg({1<DID={$(vListDID)}>}SALARY)

View solution in original post

13 Replies
Anonymous
Not applicable

Hope the attached qvw solves ur problem

satheshreddy
Creator III
Creator III
Author

hi Bhagirath

please attach the qvw file

Anonymous
Not applicable

Does this solves your problem ?

if yes you can mark this as correct answer

if not let me know what is still pending

Anonymous
Not applicable

didn't you received the one in earlier reply

satheshreddy
Creator III
Creator III
Author

my qlikview is personal edition so not opening ur attached qvw file

please send personal edition qvw file

Anonymous
Not applicable

ohhh

Create an application, load the excel you have attached with scripts

now in front end

Create a variable in the settings>variable Overview> add

vListDID and define it as below

=Concat(distinct DID,',')

and then finally create

Create a pivot with DID as dimension

sum({1<DID={$(vListDID)}>}SALARY)

avg({1<DID={$(vListDID)}>}SALARY)

satheshreddy
Creator III
Creator III
Author

mr Bhagirath

thanks for your response 

sagarkharpude
Creator III
Creator III

You can also use

avg({<DID=>}SALARY)

Anonymous
Not applicable

you are most welcome