Alteryx Designer Desktop Discussions

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

Creating subgroups within the data fields such as Transaction id and timestamp

kimwells
5 - Atom

I am trying to automate the financial audit analysis.
I need to mark the transactions for non compliance for internal rules. The last data field is Dollars. (Cannot enter).

This is a daily file and we only look at the daily compliance.

 

The audit criteria is followed by few rules. There is no identify of an individual person for these data but we can suspect that a paticular person may conduct multiple transactions based on the sequence of Trans ID and/or Time Stamp and/or POS Trans.

 

1. I need to make groups of transactions within a store, based on

    1.1 It will be by Store

    1.2 same Trans ID - This could have multiple dollars as a sub transaction

    1.3 We look at time stamp and comparing T2 and if the T2 time gaps are less than 5 or 10 minutes, we want to group them

    1.4 We look at Trans ID and if the gap between the Trans ID < 5 or 10, we want to group them

    1.5 I converted Trand ID to number, and Time to the time format and calculated time gap for comparison to the previous record and the next record.

    1.6 A group of transactions must be under $3,000 and my ultimate goal is to filter out the list of record groups, which might be the violation of the audit and send them back to validation.

 

I thought multi row tool and fussymatch or group tool may do it but cannot find a good solution. Hope someone will help me.

   

What I am struggling is to somehow create a field to segregate the records group under the each store, so I can do various calculations and comparisons.

 

I am attaching my WIP file as a attachment for you. 

 

 

Trans ID

Date


Time


Store


Register


POS
Trans

cashierunmasked


-6722238448/23/20238171674336403091798673$500.00
-6722238438/23/20238191674336403101798673$500.00
-6722238428/23/20238201674336403111798673$500.00
-6722238418/23/20238211674336403121798673$500.00
-6722238378/23/20239091674336403221798673$500.00
-6722238368/23/20239111674336403231798673$500.00
-6722238168/23/202310531674336403451772151$500.00
-6722238158/23/202310541674336403461772151$500.00
-6722237468/23/202319131674336404241790882$500.00
-6722237458/23/202319141674336404251790882$500.00
-6722237448/23/202319151674336404261790882$500.00
-6722237438/23/202319161674336404271790882$500.00
-6722197688/23/20231158173622426877849536$350.00
-6722197428/23/20231351173622426906849536$500.00
-6722197418/23/20231352173622426907849536$500.00
-6722197408/23/20231353173622426908849536$500.00
-6722197398/23/20231355173622426909849536$500.00
-6722197388/23/20231358173622426910849536$500.00
-6722197378/23/20231359173622426911849536$198.60
-6722196978/23/202315391736224269571812922$132.00

 

 

 

AML.PNG

0 REPLIES 0
Labels