Forum Discussion

robg89's avatar
robg89
Regular Visitor
3 years ago
Solved

HELP WITH SUM FORMULA

I need urgent help on a SUM formula please!   I am trying to make a matrix table which sums up a number for the entire year, even when the table shows quarterly periods.   For example, there is $...
  • FreemanZ's avatar
    3 years ago

    hi robg89 

    try to plot the a like:

    Amount = 
    CALCULATE(
    	SUM(Table1[Portfolio]),
    	FILTER(
    		ALL(Table1[Qtr]),
    		YEAR(Table1[Qtr])=YEAR(MAX(Table1[Qtr]))
    	)
    )