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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have a table which contain the following columns
I woulld like to calculate the number of the working days between those days.
I have created a table where I have defined my calendar according to local Holidays.
The last column contain a logical value that define how to consider that date.
But to be honest I am not able to find a simple way to do it.
Is there a simple solution for a beginner?
Thanks in advance for your help.
Solved! Go to Solution.
@gpiero Try this... Let me know if it works.
Column =
CALCULATE (
COUNTROWS ( 'Calendar Table' ),
ALL ( 'Calendar Table' ),
DATESBETWEEN ( 'Calendar Table'[Date], Table[Start Date], Table[End Date] ),
'Calendar Table'[IsWorkingDay] = "Y"
)
Many thanks. Your solution work perfectly and I have more opportunity to apply it again.
![]()
gpiero
@gpiero Try this... Let me know if it works.
Column =
CALCULATE (
COUNTROWS ( 'Calendar Table' ),
ALL ( 'Calendar Table' ),
DATESBETWEEN ( 'Calendar Table'[Date], Table[Start Date], Table[End Date] ),
'Calendar Table'[IsWorkingDay] = "Y"
)
Many thanks. Your solution work perfectly and I have more opportunity to apply it again.
![]()
gpiero
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 52 | |
| 51 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |