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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have rather an interesting challenge I'm looking at here. I need to calculate the number of employees who have started each month. And I need to also calculate the number of employees who have completed their assignement each month. I need to figure out how would I count the number of rows who have started during the month, the number of rows of people who have left or wil be leaving that month, and what my running total is each month.
Solved! Go to Solution.
Hi,
I am not sure whether I understood your question correctly, but please check the below picture and the attached pbix file.
All measures are in the attached pbix file.
Hi,
I am not sure how your data model looks like, but I suggest having a dim-calendar table like below.
Please check the below picture and the attached pbix file.
Employees count: =
IF (
HASONEVALUE ( 'Calendar'[Month & Year] ),
CALCULATE (
COUNTROWS ( Data ),
FILTER (
Data,
MIN ( 'Calendar'[Date] ) <= Data[dateEnd]
&& MAX ( 'Calendar'[Date] ) >= Data[dateBegin]
)
)
)
@Jihwan_Kim That worked!
Is there a way I can see the net difference between each month from month to month?
Hi,
I am not sure whether I understood your question correctly, but please check the below picture and the attached pbix file.
All measures are in the attached pbix file.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.