Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Abdult
Regular Visitor

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

1 ACCEPTED SOLUTION
amitchandak
Super User
Super 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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
v-jianboli-msft
Community Support
Community 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.

amitchandak
Super User
Super 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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
AbbasG
Memorable Member
Memorable Member

@Abdult as per my understanding, if you create a page filter. All the visuals on that page will reflect the filtered values.

 

As in your case it will show the avg. headcounts during that range.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.