Forum Discussion
Last 2 weeks average/ employee
thank you, what is the formuala if I wanted to do average of last 8 weeks?
- v-sathmakuri1 year ago
Community Support
Hi homboy27 ,
Thank you for reaching out to Microsoft Fabric Community.
please find the below measure to calculate for 8 weeks. Also attached the pbix file for reference.
Last 8 Weeks Average =VAR __WeekEnding = MAX ( 'Table'[Week Ending] )VAR __WeekStart = __WeekEnding - 56RETURNAVERAGEX (FILTER (ALLSELECTED ( 'Table'[Week Ending] ),'Table'[Week Ending] >= __WeekStart && 'Table'[Week Ending] <= __WeekEnding),[% Hours])If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!
- v-sathmakuri1 year ago
Community Support
Hi homboy27 ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If the responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you!!
- v-sathmakuri1 year ago
Community Support
Hi homboy27 ,
I hope the information provided is helpful. Feel free to reach out if you have any further questions or would like to discuss this in more detail. If responses provided answers your question, please accept it as a solution so other community members with similar problems can
find a solution faster.
Thank you!!