Forum Discussion

rdiazd73's avatar
rdiazd73
Icon for Helper I rankHelper I
6 years ago

SUM RESULTS SWITCH FORMULA

Hello guys
thanks in advance for your help πŸ™‚

 

I have an table with 2 country and 2 cost, ok

 

I created a switch formula for using slicer etc, and change indpendence of country , ok no prob funcionality ok

 

_PAL $ = SWITCH(TRUE();

[_PALET COST BY COUNTRY]="ES10";FORMAT([TOTAL PALETS]*VALUES('COUNTRY PALET COST'[COST]);"$0,00");

[_PALET COST BY COUNTRY]="PT03";FORMAT([TOTAL PALETS]*VALUES('COUNTRY PALET COST'[COST]);"$0,00"))

 

 

the problem appear when I would like  obtain the total cost for  all countrys, is posible added line to swich formula 

for obtain the total cost for 2 countrys together ?  thank you

 

 

5 Replies