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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I am asked to create a calculation of employee consecutive work days. For specific period, want to see every employee's max consecutive work days. I am trying to write a measure, but stuck. Please help!
| Employee ID | Work Date |
| A | 1/1/2023 |
| A | 1/2/2023 |
| A | 1/3/2023 |
| B | 1/7/2023 |
| A | 1/5/2023 |
| A | 1/6/2023 |
| A | 1/7/2023 |
| A | 1/8/2023 |
| B | 1/10/2023 |
| A | 1/9/2023 |
| A | 1/10/2023 |
| A | 1/20/2023 |
| B | 1/22/2023 |
| A | 1/21/2023 |
| A | 1/22/2023 |
| A | 1/23/2023 |
| B | 1/23/2023 |
| B | 1/24/2023 |
| A | 1/24/2023 |
| A | 1/25/2023 |
| A | 1/26/2023 |
| A | 1/27/2023 |
| B | 1/28/2023 |
| B | 1/29/2023 |
| B | 1/30/2023 |
| B | 1/31/2023 |
| B | 2/1/2023 |
| B | 2/2/2023 |
I hope this message finds you well. I've noticed that this solution remain unresolved. If any of you have managed to find a resolution to the issue, I kindly request that you share your solution for the benefit of the entire community. Alternatively, if you're still facing challenges, please do let us know as well.
Your insights and updates will greatly assist others who might be encountering the same challenge.
@babyjb1979 This might help, it was created for something similar. Cthulhu - Microsoft Fabric Community
But your method is when the index column is ready. My situation is no new column can be added into the dataset. Is there a way to resolve just by DAX?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 19 | |
| 17 | |
| 11 |