Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
13 | |
11 | |
9 | |
6 |