Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Let me try to exemplify what I need to do:
1. I have a calendar table;
2. I have a factories table with their start and end dates (when applicable):
| Factory | Start End | End Date |
| Factory #1 | 10/jun/1995 | 05/oct/2020 |
| Factory #2 | 13/nov/2000 | |
| Factory #3 | 05/may/2010 | 29/apr/2021 |
3. I need to create a measure that counts how many days the factory was functional when using the year filter from the calendar table.
I'm pretty sure it shouldn't be difficult but I'm having a hard time figuring it out.
Solved! Go to Solution.
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.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |