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: 
Not applicable

Calculating average in QlikView

I have two fields in my file - ID and Marks. I want to calculate average marks for each of the IDs present. For e.g., if my data is

ID           Marks

1               10

1               20

2               100

1               30

2               200    

2               300

3               50

2               400

My expression should return the following corresponding to each of the IDs:

    

ID         Avg Of Marks

1                  20

2                 250

3                  50

Can anyone help me on this?

1 Reply
Gysbert_Wassenaar

Create a straight table with ID as dimension and avg(Marks) as expression. See attached example.


talk is cheap, supply exceeds demand