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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I am trying to calculate a column where it adds the working days in a running form. On 15th March, total working days would be 2, and 3 on 16th March. I require a column, not a measure. I have tried various methods but they return total working days till the maximum date in the table, not till a date in the row.
How can it be solved?
Thanks alot
Solved! Go to Solution.
Please check this article:
https://community.powerbi.com/t5/Desktop/Cumulative-Total/td-p/43115
Cumulative working days =
CALCULATE (
SUM ( 'Table'[Is WorkingDay] ),
ALL ( 'Table' ),
'Table'[Date] <= EARLIER ( 'Table'[Date] )
)
Please check this article:
https://community.powerbi.com/t5/Desktop/Cumulative-Total/td-p/43115
Cumulative working days =
CALCULATE (
SUM ( 'Table'[Is WorkingDay] ),
ALL ( 'Table' ),
'Table'[Date] <= EARLIER ( 'Table'[Date] )
)