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.
Good Morning,
I have an interesting problem to solve -
KPI is Count of Active Employees
Slicers are Year, Quarter, Month
Data has employee id along with employee start date and employee end date.
KPI needs to reflect the active employee count based on what the user selects in any of the slicers.
If the user selects Year 2022 and Qtr Q1, and an employee leaves in Feb, the employee should be counted because employee was active in Q1.
Thanks Lucien.
i created a range - min data and max date based on what the user selected in the Year, Qtr, Month slicers.
Then i counted Active employees based on an overlap in the employee start and end date and in the selected range.
It works!
Hi @Anonymous ,
Could you pls share a smaple data and expect output result.Remember to remove confidential data.
Best Regards
Lucien
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.