Forum Discussion
fletchuk
7 years agoRegular Visitor
Trying to create a difference column in a matrix table
Hi, I have a matrix table which shows the sales for products this year and last year. All I want to do is add a column which shows the difference between these two columns. I've been trying all a...
- 7 years ago
fletchuk
7 years agoRegular Visitor
By the way, this is the code i'm using to create the difference column:
Difference = CALCULATE ( SUM ( Sheet1[Sales] ), Sheet1[Year] = "TY" )
- CALCULATE ( SUM ( Sheet1[Sales] ), Sheet1[Year] = "LY" )
- v-chuncz-msft7 years agoCommunity Support