Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello!
I want to make a visual with the evolution of the workers in my company.
I have a Employment_Date column and a Termination_Date column (if it's empty the worker is still active)
And I have a Calendar from the dates of the contracts (Calendar contracts)
I've made the measurement
In 2010 there were 3 employees and this third employee does not appear until 2011
Does anyone know where I'm going wrong?
Thank you for your help!!
Solved! Go to Solution.
Hi,
It seems you are on the right track, but what about changing the min to max as there is no reason there should be both min and max in the headcount formula. Please try swapping min with max and you will get the right output, I suppose.
Best regards,
Hello again, I just saw an error that I get with this formula: I have two employees discharged in May and they don't appear in the graph, does anyone know why?
I'm using this formula:
Hi,
It seems you are on the right track, but what about changing the min to max as there is no reason there should be both min and max in the headcount formula. Please try swapping min with max and you will get the right output, I suppose.
Best regards,
Hello again, I have just seen an error that comes out with this formula: the employees who are registered in the month of May do not appear to me, I imagine that they will be in arrears, but could I add something to my formula so that each employee appears at the time of registration, even if it is the same day?
I'm using this formula:
That's great!!! Works!!!! Thanks a lot!!!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |