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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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