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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

create a rolling headcount measure that updates based on date

I am trying to create a dynamic headcount measure that compares to the same time last month/Quartter/Year... 

 

This would be based on start date,  term date... and if still active, term date would be blank.

 

I have a seperate DATE table that is already set up

 

Thanks!

4 REPLIES 4
sokg
Solution Supplier
Solution Supplier

Can you provide us with sample data???
What is the desired outcome???

Anonymous
Not applicable

Thanks for the reply..

 

the desired outcome is to have a graph/Card that updates based on "Today" and 30 days prior to and shows and  an increase or decrease in headcount

 

the data is very simple

 

ID                   START Date      Term Date        

100023456      11/30/2016

100023769      10/21/2006       01/2/2019

100098762       02/23/2010      05/26/2019

123004321       07/10/2011    

132478000       08/28/2012      06/21/2019

 

I will only be focusing on these dates for this particular calculation... I would liketo see on Friday each week.. a total employee count as of that day  and have a field that dynamically calculates the difference 30 days prior to.

            Today                                             HC              Difference Last Mo

FYI   6/21/2019  --  Total Headcount  -- 2400   +/- 3%(30 days peior)

sokg
Solution Supplier
Solution Supplier

What is a headcount and how do you define it?

 

Total employee count is a distinct count of ID from the table above or count rows of the same table???

Anonymous
Not applicable

That is correct but its a little more difficult when you are doing a  YoY or QoQ or MoM look

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.