Alteryx Designer Desktop Discussions

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

Comparing rows in different data set and updating the column in second data set

TomzPwC
6 - Meteoroid

Apologies if this has come up earlier, I could not find it. I know it might be something very simple but for a novice like me, it looks complicated.

 

I want to compare rows of different data set and add a column in the second data set based on the comparison.

Data set 1 :  Hourly rate 

Data set 2 : Hours worked

Hourly rate changes multiple times in a month. We are required to calculate the amount based on the hours worked on a particular day.

Attaching the excel for your reference.

 

Data set 1: Hourly rate

TomzPwC_0-1661769344617.png

 

Data set 2: Hours worked

TomzPwC_1-1661769411806.png

 

 

 

Desired output:

TomzPwC_0-1661769578954.png

Thanks for your time in advance.

4 REPLIES 4
messi007
15 - Aurora
15 - Aurora

@TomzPwC,

 

You can do this using join tool

Please see below :

 

messi007_0-1661770886193.png

 

Attached the workflow,

Regards,

ChrisTX
15 - Aurora

Try the Multi-Row Formula tool and the Generate Rows tool.  See attached workflow.

 

Also suggest... become familiar with the CReW macros, and use a macro like Expect Zero on the D output anchor of the Unique tool, to ensure accurate data.  

 

 

ChrisTX_1-1661772689226.png

 

 

 

Chris

TomzPwC
6 - Meteoroid

Chris, Thanks a lot.  It helped.

Sorry to bother, but where can I find CReW macros details.

regards

ChrisTX
15 - Aurora

CReW macros:

 

On this page:  http://www.chaosreignswithin.com/p/macros.html

 

Is the text:

Available for download at

http://Downloads.ChaosReignsWithin.com/Macros.zip

 

NOTE: You will require Alteryx 10.0 or later to use this macro pack.

 

 

From what I've seen, these macros are widely used by many in the Community, and by Alteryx.

 

Chris

Labels