Alteryx Designer Desktop Discussions

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

How to to a join but only to one line

NY2BOS
7 - Meteor

Hello everyone one input looks like this 

ValueItem
$100TShirt
$200Pants

 

The main flow looks like this

GroupItem 
1TShirt 
1TShirt 
1TShirt$300
1Pants 
1Pants 

 

Im trying to have the data look like this 

GroupItemValue
1TShirt$100
1TShirt 
1TShirt 
1Pants$200
1Pants 

 

Without getting to complicated I know the blanks are not recommended but how the report needs to be viewed I dont want the value to be in every value just the first one. 
Thank you

3 REPLIES 3
aatalai
14 - Magnetar

I would use a join and then that would get something like what you are trying to get but with values in every value cell.

 

Then use a multi row formula

 

with if [item:row] != [item:row-1] then [Value] else empty() endif

 

@NY2BOS let me know if that helps

 

 

NY2BOS
7 - Meteor

Thank you that logic seems to work, just one more quick question can i sort? the logic works but the items arent sorted

aatalai
14 - Magnetar

@NY2BOS yh use the sort tool on item or group and set to ascending let me know if that helps

Labels