Forum Discussion
Question
Suppose you created a start date and end date filter on PBI page (not in filter pane). Now you want to compute average headcount between user selected start date and end date. How will you achieve this? The source data has monthly snapshot between Jan to Dec with 1 column showing monthly time stamp
Abdult , Refer to the reply from AbbasG first. If that not help refer
You have an active headcount measure and take Avg like
Averagex(Values(Date[Date]) , [Head Count])
Average of Rolling, Average of Snapshots: https://youtu.be/_pZRdLAJxxA
3 Replies
- amitchandakSuper User
Abdult , Refer to the reply from AbbasG first. If that not help refer
You have an active headcount measure and take Avg like
Averagex(Values(Date[Date]) , [Head Count])
Average of Rolling, Average of Snapshots: https://youtu.be/_pZRdLAJxxA
- v-jianboli-msftCommunity Support
Hi Abdult ,
Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
Refer to:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.