Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I've got a calculated measure for a running total, but I'm trying to split it by [Value].
I want to say:
RT Type 1 = CALCULATE(SUM('Table'[Value]), FILTER(ALLSELECTED('Table'[DATE]), 'Table'[Date] <= 'MAX('Table'[Date])) && 'Table'[Type] = "1")
When I try this, it just gives me an error saying "Filter has been used in a True/False expression that is used as a table filter expression. This is not allowed."
I can't think of another solution. Thanks
Solved! Go to Solution.
Hi @Anonymous
please try
RT Type 1 =
CALCULATE (
SUM ( 'Table'[Value] ),
ALLSELECTED ( 'Table' ),
'Table'[Date] <= MAX ( 'Table'[Date] ),
'Table'[Type] = "1"
)
Hi @Anonymous
please try
RT Type 1 =
CALCULATE (
SUM ( 'Table'[Value] ),
ALLSELECTED ( 'Table' ),
'Table'[Date] <= MAX ( 'Table'[Date] ),
'Table'[Type] = "1"
)
Such an easy solution. Haha, thanks!