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.
Hello everyone
What DAX expresssion can I use to get the cummulative total of an amount but not to include the current year.
For example from the above data I would like to see in 2017 the cummulative total amount up to 12/31/2016 (thats 45), for 2018 the cummulative total amount up to 12/31/2017 (thats 145), and for 2019 the cummulative total amount up to 12/31/2018 (thats 285).
Solved! Go to Solution.
@BIAB ,
You may refer to the measure below.
Measure = VAR y = SELECTEDVALUE ( 'Table'[Date].[Year] ) RETURN SUMX ( FILTER ( ALLSELECTED ( 'Table' ), 'Table'[Date].[Year] < y ), 'Table'[Value] )
@BIAB ,
You may refer to the measure below.
Measure = VAR y = SELECTEDVALUE ( 'Table'[Date].[Year] ) RETURN SUMX ( FILTER ( ALLSELECTED ( 'Table' ), 'Table'[Date].[Year] < y ), 'Table'[Value] )
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 |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |