cummulative dax
2 TopicsCumulative sum zero values should display previous values till end values
c1 c2 c3 may 2020 32 32 jun 2020 22 54 jul 2020 54 aug 2020 54 sept 2020 34 88 oct 2020 2 90 nov 2020 dec 2020 I have c2 column and need to display c3 running total but blank values before last value should display previous values my table is connected to date table my measure: CALCULATE( sum(c2), FILTER( CALCULATETABLE( SUMMARIZE( 'Date Table', 'Date Table'[cc_year-Month Sort], 'Date Table'[Year Month] ), ALLSELECTED('Date Table') ), ISONORAFTER( 'Date Table'[cc_year-Month Sort], MAX('Date Table'[cc_year-Month Sort]), DESC, 'Date Table'[Year Month], MAX('Date Table'[Year Month]), DESC ) ) ) but displaying cumulative till lastSolved6.7KViews0likes12CommentsReverse Cummulative Sum
Hello All, I need help with creating a column/measure in Power BI Desktop. I want to create a reverse cumulative sum based on multiple columns below is the dataset(example): The last column is the result I want (cumm_qty): Example: for the combination: "20-DL-1051001002-2021" (has three rows for one for each month ) now I want a "cumm_qty" in reverse order i.e for 3rd month the value is -30495, for 2nd month it's 30495, for third month its 19000. So for 3rd month the value should be same (-30495), for 2nd month the value should be (-30495+30495 = 0), for 1st month it should be (-30495+30495+19000 = 19000). So If I add one more month then the calculation should be: 4th month = 4th month qty 3rd month = 4th month qty + 3rd month qty 2nd month = 4th month qty + 3rd month qty + 2nd month qty 1st month = 4th month qty + 3rd month qty + 2nd month qty + 1st month qty Please help me with this. Regards Shubham1.3KViews0likes3Comments