Hello Sir
I had added the result which I got from the Result which is positive and the one in DM package which is negative. I have written the below logic as suggested by you in DEFAULT.LGF
Also attached the screen shots of bothImage may be NSFW.
Clik here to view.Image may be NSFW.
Clik here to view.
*XDIM_MEMBERSET SP_Account = SP_Quantity
*WHEN SP_Account
*IS*
*REC(EXPRESSION=-%VALUE%*[SP_Account].[SP_Price],SP_ACCOUNT=SP_Amount)
*ENDWHEN
*XDIM_MEMBERSET SP_Account = SP_Price
*WHEN SP_Account
*IS*
*REC(EXPRESSION=-%VALUE%*[SP_Account].[SP_Quantity],SP_ACCOUNT=SP_Amount)
*ENDWHEN
Regards
Bhagyesh Ravange