The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!
User | Count |
---|---|
15 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
13 | |
13 | |
8 | |
8 |