Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello I am stuck on how to finalize this formula with a lot of different parameters involved.
So I have an active count function that allows me to see active staff as shown below.
here is the data. So when someone is hired, they have just the hired data filled out. If they terminate, then they have both. Then if they rehire, they will have 3 dates. Then if they terminate again, they will have 4 dates. I am trying to figure out how to show active count based on those 4 dates.
What if they get rehired a third time etc?
Unpivot you data. Then you can count all employees without a termination date plus all employees where the maximum hire date is greater than the maximum termination date.
Thank you! So what if I wanted to count the person twice? So when they are rehired, they would count again as a new person in the data? And luckely the data only goes out two times, so hire and then rehire.
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
You may want to consider pivoting your requirement from hire/termination dates to "calendar of active days for each employee". That list is static, and can be precomputed outside of Power BI. Even if you have tens of thousands of employees it will also be rather small.
Please provide sanitized sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.