Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to find Avg and Total.

Hi Folks,

I have student table, in this table have

hltno,sno, m1, m2, m3 fields

I need to find out avg and also total

Form back-end and front end of each student wise.

1 Solution

Accepted Solutions
avinashelite

In frontend ..

Add hltno,sno, m1, m2, m3 as dimension and in the expression

Total: sum(m1)+sum(m2)+sum(m3) --- this will give the total

Avg: AVG(m1+m2+m3) or (sum(m1)+sum(m2)+sum(m3))/3 ------ as you have 3 subjects

View solution in original post

3 Replies
avinashelite

In frontend ..

Add hltno,sno, m1, m2, m3 as dimension and in the expression

Total: sum(m1)+sum(m2)+sum(m3) --- this will give the total

Avg: AVG(m1+m2+m3) or (sum(m1)+sum(m2)+sum(m3))/3 ------ as you have 3 subjects

amit_saini
Master III
Master III

Hi,

u can use these settings while you have data in charts.

Thanks,

AS

Not applicable
Author

Total: sum(m1)+sum(m2)+sum(m3) --total

Avg: AVG(m1+m2+m3);