Counting number of days in a month | Community
Skip to main content
New Participant
Jun 17, 2020 1:52 PM UTC
Solved

Counting number of days in a month

Hey guys,

I'm trying to calculate the total number of days in a month. I used the Approximate Count Distinct Function but the counts are inaccurate (April has 29 days even though all the dates recorded a lot of data).

The end goal is to calculate Average Daily Hours Spent at a Monthly level. I'm hoping that once I can count the number of days in a month, I can use the below formula.

Pull by Month

=(Total Seconds Spent/3600)/Days in a month

 

Any help is appreciated as I'm new to this. Thank you very much.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SJW_xioAccepted solution
New Participant
Jun 15, 2021 4:00 PM UTC

I had the same problem when calculating a weekly average for a time period with incomplete weeks.
It seemed the count of days was out by one, so I added this within the formula which made it exact

 

1 reply

SJW_xioAccepted solution
New Participant
Jun 15, 2021 4:00 PM UTC

I had the same problem when calculating a weekly average for a time period with incomplete weeks.
It seemed the count of days was out by one, so I added this within the formula which made it exact

 

Translate