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! Learn more
I have a personnel table that has employee names and their hire date, among other values, and would like to categorize those years of service into the following:
0 -2 Years of Service
3 - 5 Years of Service
5 -10 Years of Service
10 or More Years of Service
My goal is to be able to do comparisons between different years of service and such, but I know I first need to calculate their years of service and then categorize into one of the above before I can start to use the information.
Any help will be greatly appreciated. 🙂
This sounds like a classic "binning" (aka dynamic segmentation) report - you can find details on the DAX pattern for such categorization here:
http://www.daxpatterns.com/abc-classification-dynamic/
Hope this helps
David
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.