Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI All,
I Need to Calculated Blank values in CusGrp by Using Set Analysis, I am getting If I am Using any Specific CusGrp, BUt I need for Blank CusGrp...
Ex: sum({<CusGrp={"OEM"}>}Amt)
CusGrp Amt
OEM 1000
OEM 2050
- 3000
LIGHT 4560
- 2000
LIGHT 3000
Regards,
Heather
If it is really a null(), you won't be able to capture that in set analysis. You should probably replace the null values in the script by specific symbol or text, may be like:
Set NullAsValue CusGrp;
Set NullValue ='Null';
And then you would be able to filter them in set analysis like:
sum({<CusGrp={"Null"}>}Amt)
=sum({<CusGrp={'OEM'}>}Amt) + sum({1-<CusGrp={'*'}>}Amt)
sum({1-<CusGrp={'*'}>}Amt) -- Calculates sum of Amt where CusGrp is null
or you can do sum(if(isnull(CusGrp),Amt))
Now I am getting Value , but Amt is Differnt...
please let me know
Check this app.
Note: Used Set Nullinterpret=''; in Script