on 05-27-2008 1:37 PM
Hi Gurus,
I have prepared a query on MP which contains two infoproviders stocks and the other sales.
I prepared a quer whose output is as follows
Location Sales Tonnes Contribution Sales Value QTY
Lagos 11122222.00 12345.00 111111190.00 2500
Port haccort 1200
Warri 56712345.00 121324 347678734.00 4000
this is the result and it matches the values also.
I want to design another query from the same MP which will have a column No sale qty. This column will display the qty which is having no sales as in the above case for Port Haccort.
please suggest to do.
Points will be awarded
Thanx in advance,
Regards,
Archana
Hello Archana,
create a formula with the following formula
(sales Qty > 0)0+(Not(sales Qty > 0))sales Qty
Now write a condition on this formula , that is formula not equal to Zero.
Hope it is helpfull
Thanks
Tulsi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Archana,
Create a Restricted key figure(RKF) on Sales Value based on the Location (E.g - NOSALES) , then create a formula checking in NOSALES = 0 , then display the qty
(NOSALES <= 0)(SALESQTY)(If you want to show some other keyfigure this is else part)
See this link to know about how to use [Boolean Operators|http://help.sap.com/saphelp_nw04s/helpdata/en/23/17f13a2f160f28e10000000a114084/content.htm]
Thanks
Chandran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.