I have a sharepoint list (CheckInOut_Test) where a column is named CheckIn. This column holds different dates. Another column shows the hour at office for the specific day. Now I want to display the sum of the of hours for the current week and also for the current month. I tried this:
"Days this month: " &
Sum(Filter(CheckInOut_Test; CheckIn >= Date(Year(Today());Month(Today());1) );WorkingHours_Day)
Unfortunately, the number displayed after calculation is really high and has nothing to do with the working hours dislayed in the column. The problem seems to be this part: [>= Date(Year(Today());Month(Today());1)]
Can someone help me with this? Thanks!!
EDIT: I removed the Filter to see what happens then. When just using the sum, the number was even higher. In the area of billions. So I assume the problem is not the part mentioned above, but the way SUM() handles the working hours. The working hour column is calculated as (checkOut - Checkin) which are two columns themselves.