Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
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.

Labels (1)
1 Solution

Accepted Solutions
avinashelite
MVP
MVP

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
MVP
MVP

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);