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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
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 |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 13 | |
| 10 |