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

Re: Null Records in scope when comparing category data

$
0
0

Thanks Vadim.

 

I also tired something like that but the 2nd loop overwrites what happens in the 1st loop. example:

 

Loop.PNG

 

Product_1 has a value in both categories and the expected delta is 2864.7 that will be in V2 Delta member.  Sum of 7Z+Delta = 2748.17 which is V1 amount so that would be correct.

 

But when the 2nd loop runs it takes the V2 total value (2748.17 after 1st loop) and subtracts the V1 value and puts the delta to zero.

 

Product_2 only has a value in V2 so its not scoped in the 1s loop and thus it comes out ok from loop 2.

 

Sure i am missing something easy, think i have been looking at it for too long.  seems so easy to get V1=V2 yet......

 

Jim


Viewing all articles
Browse latest Browse all 8594

Trending Articles



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