Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9164

Re: Script logic for Multiplying Quanitity with Price

$
0
0

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 bothDM_screen shot 1.PNGReport screen shot 2.PNG

 

*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


Viewing all articles
Browse latest Browse all 9164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>