Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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])
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
67 | |
57 | |
50 | |
36 | |
34 |
User | Count |
---|---|
84 | |
74 | |
56 | |
45 | |
44 |