|
Archives of the TeradataForumMessage Posted: Wed, 27 Jun 2007 @ 22:23:42 GMT
<-- Anonymously Posted: Wednesday, June 27, 2007 16:00 --> Hello, I have the following table: T1 Txn_id Txn_date Txn_amount_$ User_id 001 06/27/2007 3.00 1010 I need to calculate a total payment volume for 30 days for each transaction from the data it accured and each user. Txn_id and user_id define a primary key on my table. For example, if transaction happened on June 27, 2007, I need to see TPV of that customer for 30 days before June 27th inclusively. My report needs to look like this Txn_id User_id date TPV_30days 001 1010 06/27/2007 450.00 Please advise how can I do that. Thanks
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||