Exploring, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

Filtering Transaction Dates in SAS VA

Reply
Frequent Contributor
Posts: 85

Filtering Transaction Dates in SAS VA

Hi,

The objective is to filter dates that are recorded after first transaction.

for ex. 1st Transaction taken place on 25 Jan 2014, 2nd on 14 March 2014 and 3rd on 16 June 2014.

Now I want to filter out dates only for 2nd and 3rd. Is it possible to perform this on SAS VA in designer level?

satlr

Regular Contributor
Posts: 173

Re: Filtering Transaction Dates in SAS VA

Hi Satlr,

Here again I would advice you to add a variable to you data source being the transaction sequence by item.

This way the first transaction sequence is labeled 1 and the second 2 etc.

Now you can just filter on the transaction sequence number.

I do not see a simple solution within SAS VA, but maybe someone else has an idea.

Greetings,  Peter

Frequent Contributor
Posts: 85

Re: Filtering Transaction Dates in SAS VA

Peter, can I perform the above steps in VA Designer?

May be I will try sorting as well.

Thanks.

satlr

Regular Contributor
Posts: 173

Re: Filtering Transaction Dates in SAS VA

Hi satlr,

If the transaction sequence number is in the data, you can do it in the designer or even in the prepare data step.  (Just filter seq=1 out)

If the transaction sequence number is not already in the data, I have no clue how to solve this. (Maybe someone else....)

Greetings,  Peter

Ask a Question
Discussion stats
  • 3 replies
  • 402 views
  • 0 likes
  • 2 in conversation