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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

How to compute average sales per day ?

Hi All

Can some one share with me how to compute the average sales per day ?

For example sales for the month of May 2015 is $30

Average sales per day it is = $30/30 = 1

it is correct ?

Paul

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

It could be (with dimension of Month)

     Sum(Sales) / Day(MonthEnd(Month))

Adjust the field names to the correct names for your model.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

4 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

It could be (with dimension of Month)

     Sum(Sales) / Day(MonthEnd(Month))

Adjust the field names to the correct names for your model.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
jonathandienst
Partner - Champion III
Partner - Champion III

If Month is not a date, convert to a date using MakeDate, and use that in the MonthEnd statement.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
santhoo_san
Partner - Creator II
Partner - Creator II

Average sales per day =

( Total Sales for a period

/

No of days of that period (No of working days in some cases))

in your example as a general case = it is $30 / 31 (May has 31 days) = 0.968.

paulyeo11
Master
Master
Author

Hi Sir

Thank you.

Paul