Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I am trying to calculate hours worked in the past 30 days. The formula was working and pulling the correct numbers until a new month started. Now, it won't pull in any values. Here is the equation I am using:
Solved! Go to Solution.
Hi @Anonymous,
If you share some dummy data to test, it will help to test and modify your formula:
How to Get Your Question Answered Quickly
In addition, you can also take a look at Greg_Deckler's blog of use date function to manually define the calculation range instead of time intelligence functions:
Time Intelligence "The Hard Way" (TITHW)
Regards,
Xiaoxin Sheng
Is there a way to do this but from a specific/ fixed date as apposed to 'Today'?
Hi @Anonymous,
If you share some dummy data to test, it will help to test and modify your formula:
How to Get Your Question Answered Quickly
In addition, you can also take a look at Greg_Deckler's blog of use date function to manually define the calculation range instead of time intelligence functions:
Time Intelligence "The Hard Way" (TITHW)
Regards,
Xiaoxin Sheng
You should be able to do this like the following:
Hours Worked Past 30 days =
SUMX(FILTER('MS TimeCard',[Work Date] <= TODAY() & [Work Date] >= TODAY() - 30),'MS TimeCard'[Hours])
User | Count |
---|---|
102 | |
90 | |
80 | |
71 | |
69 |
User | Count |
---|---|
114 | |
100 | |
97 | |
72 | |
68 |