We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 54 | |
| 37 | |
| 32 | |
| 17 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 37 | |
| 34 | |
| 23 |