March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
Any idea why this isn't showing the cumulative total but rather the grand total. Must be related to the date.
Running Total Hrs =
CALCULATE (
SUM ( 'powerbi114 view_finance'[Hrs] ),
FILTER (
ALL ( 'powerbi114 view_finance' ),
'powerbi114 view_finance'[carer_id]
= EARLIER ( 'powerbi114 view_finance'[carer_id] )
&& 'powerbi114 view_finance'[date] <= MAX ( 'powerbi114 view_finance'[date] )
)
)
Solved! Go to Solution.
This is what worked for me.
This is what worked for me.
@Qotsa , Try a measure like
Running Total Hrs =
CALCULATE (
SUM ( 'powerbi114 view_finance'[Hrs] ),
FILTER (
ALL ( 'powerbi114 view_finance' ),
'powerbi114 view_finance'[carer_id]
= EARLIERall( 'powerbi114 view_finance'[carer_id] )
&& 'powerbi114 view_finance'[date] <= MAX ( 'powerbi114 view_finance'[date] )
)
)
or
Running Total Hrs =
CALCULATE (
SUM ( 'powerbi114 view_finance'[Hrs] ),
FILTER (
ALLselected ( 'powerbi114 view_finance' ),
'powerbi114 view_finance'[carer_id]
= EARLIERall( 'powerbi114 view_finance'[carer_id] )
&& 'powerbi114 view_finance'[date] <= MAX ( 'powerbi114 view_finance'[date] )
)
)
@Qotsa , Sorry, Try these
Running Total Hrs =
CALCULATE (
SUM ( 'powerbi114 view_finance'[Hrs] ),
FILTER (
ALL ( 'powerbi114 view_finance' ),
'powerbi114 view_finance'[carer_id]
= max( 'powerbi114 view_finance'[carer_id] )
&& 'powerbi114 view_finance'[date] <= MAX ( 'powerbi114 view_finance'[date] )
)
)
or
Running Total Hrs =
CALCULATE (
SUM ( 'powerbi114 view_finance'[Hrs] ),
FILTER (
ALLselected ( 'powerbi114 view_finance' ),
'powerbi114 view_finance'[carer_id]
= max( 'powerbi114 view_finance'[carer_id] )
&& 'powerbi114 view_finance'[date] <= MAX ( 'powerbi114 view_finance'[date] )
)
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
115 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
164 | |
116 | |
63 | |
57 | |
50 |