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

Macro to be calculated at a desired level

$
0
0

Hello,

 

We have a macro that copies the values from Key figure A to Key Figure B. When you execute the macro at the desired level say : Sold to, Ship to and Material level, it works. But when I execute the macro at the Total level, it does not work. It is using some proportional factor and changing the values.

 

Can you please advice as to how to write the macro so that when you interactively run the macro, it should copy the exact same values.

 

 

Ex:

 

It the actual is

 

Total: 100

Material A: 30

Material B: 40

Material C: 30

 

If we run the macro at the total level it does this.

 

Total: 100

Mateial A : 70

Material B: 30

Matierial C : 0

 

We want the values to be copied down exactly as they are above. Please find the screenshots of both the macro and the values not being copied down as they are supposed to be. Thanks for your time.

 

Regards,

Rohit.


Viewing all articles
Browse latest Browse all 8451

Trending Articles



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