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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.