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.
Ive seen a lot of talk on rolling averages and have learned a lot from the reading but I cant seem to get this one to work.
I need to calculate: trailing 7 day average revenue per hour worked and trailing 30 day average revenue per hour worked.
I have tried two different Measures but they are both returning the same values for 7 day and 30 day. they also dont seem to be averaging either because on days that rvenue is not yet reported its returning $0 which i wouldnt think it would do if it was actually returning an average. Here are the two measures I have tried so far:
Solved! Go to Solution.
@OhLookAnError You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000
Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...
Also, specifically this video should help:
Otherwise, really need sample data to be super specific.
@OhLookAnError You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000
Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...
Also, specifically this video should help:
Otherwise, really need sample data to be super specific.
Thanks Greg, the entire issue turned out to be that my table with hours & revenue wasnt connected to my power query calendar in the data model. as soon as I connected it the measures worked as intended!
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 |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
9 |