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

Re: Need to exclude 2 location from macro while calculating independent Req

$
0
0

I know this a bit of a late reply. But still answering this so that it might benefit someone!

 

You could use the function ACT_LOCATION( ) to exclude  the location.

 

For example, you want to exclude Location XYZ from the calculation, you could use the function like below:

 

Step: Calculate Independent Requirement

IF

Location = XYZ

    ACT_LOCATION( )

    = 'XYZ'

Row: Independent Requirement =

    SUM(

    Row: Forecast

ELSE

Row: Independent Requirement =

    SUM(

    Row: Forecast

    Row: Distribution Demand

    )

ENDIF

 

Hope this helps.

 

Cheers

Sam


Viewing all articles
Browse latest Browse all 2756

Trending Articles



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