Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
Iam trying to add an expression for not equal but does not work
Sum({<Country= {'01 '},[Sales] -= {'Insurance'}>}Values)
any suggestions
Have you made sure that the first part of the set analysis is not the issue here? I guess just focus on the second pary
Sum({<[Sales] -= {'Insurance'}>}Values)
This should sum all Values except for those where Sales = Insurance
The expression looks ok to me except there is a space {'01 '}. Try as below:
Sum({<Country= {'01'},[Sales] -= {'Insurance'}>}Values)
See if this works...
I am not sure, Something like below
Sum({<Country = {01}, Sales -= {"Insurance"}>} Values)
OR
Sum({<Country = {01}, Sales =- {"Insurance"}>} Values)
OR
Sum({<Country = {01}, {<Sales = {*} - Sales = {"Insurance"}>}>} Values)
hi sunny
i just tried with this Sum({<[Sales] -= {'Insurance'}>}Values) still it is the same .. i get values but it is wrong
basically iam trying to exclude insurance take all other categories
but if spoecify
Sum({<Country= {'01'},[Sales] = {'Leasing','X','Rent'}>}Values) - it gives me correct results. but i need to enter many categories..
Also try this,
Sum({$<Country= {'01'},[Sales] ={'*'}- {'Insurance'}}>}Values)