Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Filter based on columns in one excel and get count of transactions

Mysa
6 - Meteoroid

Dear All, 

 

The situation is I have some transaction data which has transaction time, location, and various other columns. 

 

on the other hand I have another excel where the data is in the format below:

 

Start Time End TimeLocation
25-04-2020 06:00:4225-04-2020 08:03:30XYZ
27-04-2020 16:01:0128-04-2020 00:05:56ABC

 

I need output like below, the total number of transactions between start and end. The excel has 57000 count so cannot do manually.

 

Start Time End TimeLocationCount
25-04-2020 06:00:4225-04-2020 08:03:30XYZ3000
27-04-2020 16:01:0128-04-2020 00:05:56ABC2456
3 REPLIES 3
grazitti_sapna
17 - Castor

Hi @Mysa , will it be possible for you to provide a sample dataset?In case you cannot share the dataset give this a try.Try using this configuration and let me know if this helps.

 

Input-

grazitti_sapna_1-1599461230377.png

 

Output-

 

grazitti_sapna_0-1599461214196.png

 

 

Thanks.

Sapna Gupta
RolandSchubert
16 - Nebula
16 - Nebula

Hi @Mysa ,

 

with Alteryx you shouldn't consider to do it manually ...

 

2020-09-07_09-02-57.png

Using a Join tool to join ranges to transaction data and DateTime functions to compare should help. I've attached a sample workflow.

 

Let me know if it works for you.

 

Best,

 

Roland

 

Mysa
6 - Meteoroid

Thank a lot @RolandSchubert! that is what exactly I wanted 🙂

 

@grazziti_sapna, thanks for the reply. Apologies if my question was not clear. 

 

Labels