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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.