Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all!
I need your help again.
So,
Measure =
VAR FILTER2 = FILTER(ALL(Calendary) ; Calendary[Date] <= MAX(Calendary[Date])) // <--cumulative filter
VAR FILTER1 = FILTER(Transactions ; TRUE()) // <--required filter <just for sample>
VAR RES = CALCULATE ( CALCULATE(SUM(Transactions[Cost]) ; FILTER2 ) ; FILTER1 )
RETURN RES
Problem is:
Solved! Go to Solution.
Solution is:
RETURN CALCULATE(CALCULATE(SUM(Transactions[Cost]) ; FILTER1 ) ; FILTER2 ) //FILTER1 = FILTER(Transactions ; TRUE() ) RETURN CALCULATE(CALCULATE(SUM(Transactions[Cost]) ; FILTER(Transactions ; TRUE() ) ) ; FILTER2 )
-- not identical and return various dataset .
Solution is:
RETURN CALCULATE(CALCULATE(SUM(Transactions[Cost]) ; FILTER1 ) ; FILTER2 ) //FILTER1 = FILTER(Transactions ; TRUE() ) RETURN CALCULATE(CALCULATE(SUM(Transactions[Cost]) ; FILTER(Transactions ; TRUE() ) ) ; FILTER2 )
-- not identical and return various dataset .
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |