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 have managed to calculate if the day is a working day or not, but I need another column for each transaction to show the number of working days. Instead of '1', I need it to calculate it as 23. For Example, 15th January 2018 in one column and the another column 23
Any help will be greatly appreciated.
SJ
Solved! Go to Solution.
Hi @Anonymous,
Calculated column.
WorkingDay = IF(WEEKDAY('Date table'[Date],2)<=5,1,0)
Measure.
count workingdays =
CALCULATE (
SUM ( 'Date table'[WorkingDay] ),
ALLEXCEPT (
'Date table',
'Date table'[Date].[Year],
'Date table'[Date].[Month]
)
)
Best regards,
Yuliana Gu
Hi @Anonymous,
Calculated column.
WorkingDay = IF(WEEKDAY('Date table'[Date],2)<=5,1,0)
Measure.
count workingdays =
CALCULATE (
SUM ( 'Date table'[WorkingDay] ),
ALLEXCEPT (
'Date table',
'Date table'[Date].[Year],
'Date table'[Date].[Month]
)
)
Best regards,
Yuliana Gu
Thank you very much! That is exactly what I needed!
Thank you,
SJ
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 |
|---|---|
| 103 | |
| 80 | |
| 62 | |
| 51 | |
| 45 |