Created
September 1, 2016 19:31
-
-
Save lixzhang/7d85f61da7933ae194685c3b7f265f94 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data bank_sum (keep = CardID total_expense) ; | |
set bank ; | |
by CardID ; | |
retain total_expense ; | |
if first.CardID then total_expense = 0 ; | |
total_expense = total_expense + Expense ; | |
if last.CardID ; | |
run ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment