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

Re: How to make amount zero based on Minimum date

$
0
0

Hi Abhilash,

 

Sorry for giving wrong example, below is the correct example.

 

Transaction

typedateamountrequired results

101

aaa01/01/201056785678
101aaa01/10/201154645464
101def05/08/201098769876
101dez01/01/200956560

101

dex05/01/201176587658
102aaa01/10/201167856785
102aaa01/01/200945674567
102xdw

11/12/2008

32340
102dfe10/12/201021232123
102xsd03/12/201145634563

 

Transaction Group--- > Typegroup--> from this type group I need to pickup minimum date for type='aaa' and within Transaction group if any date is less than this date then amount should be zero.

 

Here 101 Transaction gruop--01/01/2010 is minimum date for type group and within same Transaction group 01/01/2009 is less than 01/01/2010 so, amount is zero.

 

Like wise second Transaction group 102

 

Thanks for understanding,

 

Sastry


Viewing all articles
Browse latest Browse all 2300

Trending Articles



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