The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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] )
)