We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Creating Record IT and Get the total count of lines on Bottom

jkorattiyil
7 - Meteor

Hi everyone, I am looking for an easy way to create Record IT and Get the total count of lines on bottom. Anyone have any tips or easy way?

7 REPLIES 7
binuacs
21 - Polaris

@jkorattiyil @Can you provide a sample input file and expected output result?

Prometheus
12 - Quasar

@jkorattiyil If you're just trying to create a RecordID, you can use the RecordID tool. It's located in the Preparation palette.

Prep.PNG

Peachyco
11 - Bolide

Record ID is already a tool so you can just throw that in. The count of lines can be achieved via the Summarize tool, and then you can add it to the original dataset via the Union tool. Like this:

 

Alteryx - Record ID & Line Count.png

This is my starting data:

Alteryx - Record ID & Line Count a.png

 

And this is the final data (I had to make some assumptions on which column you want the total to be under):

Alteryx - Record ID & Line Count b.png

jkorattiyil
7 - Meteor

I am trying to join two table and if the joined lines count is 1 (in the below example) i wanted to change the name in table 1 to "B" instead of "A".

 

 
Taxble 1
Name
A
B
 
Taxble 2
Name
A
 

 

 

Expected result as follows.

 

Taxble 1
Name
B

 

and if the joined line if more than 1 i wanted to go as it is.

Prometheus
12 - Quasar

@jkorattiyil Check this out and see if it makes sense to you.

jkorattiyil
7 - Meteor

This one i checked, but it is converting everything to B. even if we have A and B on both table.

Prometheus
12 - Quasar

@jkorattiyil Do you mean you're joining the tables to put them side by side or unioning them? In this one, I unioned the tables and counted rows by value and used a Formula tool to modify the value if the count > 1.

Labels
Top Solution Authors