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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
NavinReddy
Creator II
Creator II

Avg Hours

Dear All,

Some one help me

How to calculate Avg hours per person per month

Give me some idea

im using personal edition

Thanks In Advance

Niru    

Labels (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Perhaps this: =avg(aggr(sum(Payhours),person,Month))


talk is cheap, supply exceeds demand

View solution in original post

10 Replies
jsingh71
Partner - Specialist
Partner - Specialist

Can you share some sample data.

MK_QSL
MVP
MVP

Need at least some sample data !

sunilkumarqv
Specialist II
Specialist II

Please find the sample these may help you

and instead of per month i used day, you may change requirement

In expression

avg(Aggr(DISTINCT

Count( Hour),Person,Month))

NavinReddy
Creator II
Creator II
Author

hi manish,

Please find sample data

personPayhoursMonth
A10.381
B5.752
A401
C352
B1.751
A3.832

Regards,

Niru

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Create a chart with the fields Month and person as dimensions and as expression avg(Payhours). If your field names are not Month,person and Payhours, then replace those names with the exact case-sensitive field names of your qlikview document.


talk is cheap, supply exceeds demand
MK_QSL
MVP
MVP

Please check enclosed file...

NavinReddy
Creator II
Creator II
Author

Hi Gysbert,

Thanks for your replay

But i need to create Gauge Chart i need to impliment that expression

but gauge no dimension right Please help me

Regards,

Niru

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Perhaps this: =avg(aggr(sum(Payhours),person,Month))


talk is cheap, supply exceeds demand
NavinReddy
Creator II
Creator II
Author

Hi manish,

i am using personal edition

will you please copy and paste expression here ,im trying to develop in gauge chat

Thanks In Advance

Niru