Forum Discussion
Anonymous
4 years agoNot applicable
Matrix total is not matching
Hi , I am trying to work on YTD calculation for net sales from 2020-2022... and I am trying to see that in months and years so When I create the matrx the totals doesnot match... or is there a w...
- 4 years ago
Hi Anonymous ,
You can create another measure that will sum the YTD and LYTD values.
YTD SUM = SUMX ( ADDCOLUMNS ( SUMMARIZE ( Dates, Dates[Year], Dates[Month Name] ), "YTD", [YTD Measure] ), [YTD] )
danextian
Super User
4 years agoHi Anonymous ,
You can create another measure that will sum the YTD and LYTD values.
YTD SUM =
SUMX (
ADDCOLUMNS (
SUMMARIZE ( Dates, Dates[Year], Dates[Month Name] ),
"YTD", [YTD Measure]
),
[YTD]
)