Good Morning, i've this problem.
there are 2 dataset
Dataset "ID Customer" where i have this:
id | Customer Name |
-----------------------------
123456 | Michael One |
123123 | George Two |
123789 | James Three |
and the second dataset named "transaction":
id | Transaction | Date
-----------------------------------
123456 | Fuel | 01NOV2018
123456 | Fuel | 03NOV2018
123123 | Fuel | 10NOV2018
123456 | Fuel | 25NOV2018
123123 | Fuel | 13NOV2018
123456 | Fuel | 10DEC2018
123789 | Fuel | 1NOV2018
123123 | Fuel | 30NOV2018
123789 | Fuel | 15DEC2018
the results that i want is to create 3 db like a 3 customer id that i've in the first Dataset named:
_01NOV2018_15NOV_123456_F
_01NOV2018_15NOV_123123_F
_01NOV2018_15NOV_123789_F
that contains:
For _01NOV2018_15NOV_123456_F :
id | Transaction | Date
-----------------------------------
123456 | Fuel | 01NOV2018
123456 | Fuel | 03NOV2018
For _01NOV2018_15NOV_123123_F :
id | Transaction | Date
-----------------------------------
123123 | Fuel | 10NOV2018
123123 | Fuel | 13NOV2018
For _01NOV2018_15NOV_123789_F
empty
I need to create a variable for a clause where in data step... how can i make this?
thanks for help! :)`