Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Friends
Pls see what is wrong with the following expression
sum( if(GROUP_CODE = {'MA','MB','MC','MD','ME'} and TYPE='S',[BUDGET]))
sum({<GROUP_CODE = {'MA','MB','MC','MD','ME'}, TYPE={'S'}>}[BUDGET])
Try like this
sum({<GROUP_CODE = {'MA','MB','MC','MD','ME'},TYPE={'S'}>}[BUDGET]))
Regards
ASHFAQ
Thanks
I want to add an If condition to this expression
Hi,
With if function
=sum( if(Match(GROUP_CODE,'MA','MB','MC','MD','ME') and TYPE='S',[BUDGET] ))
Or
=sum( if(WildMatch(GROUP_CODE,'MA','MB','MC','MD','ME') and TYPE='S',[BUDGET] ))
Regards
Anand