Alteryx Designer Desktop Discussions

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

How to take blank as Null

gurmukh
5 - Atom

Hi,

 

I have dataset which contains columns “cust id” and “pan id”

these columns does not have any data it’s totally blank. I want the output with some row numbers with null.

 

Input data:-file A

cust id.   pan id

123ghi.    1234

123ijk.      1234

123opi.     5654

123uti.      5654

………………..

Input data :- file B

cust id.     pan id

 

 

 

 

 

—————————-

 

when I union this data I want 8 rows in final output. Like this.

 

final output to be like this

 

record cust id.  pan id

  1         123ghi.    1234

  2         123ijk.      1234

  3         123opi.     5654

  4        123uti.      5654
  5         null.          null

  6         null.          null

  7         null.          null

  8         null.          null

 

 

thanks in advance 

4 REPLIES 4
ed_hayter
12 - Quasar

Perhaps use a generate rows toll tool on input b and make 4 rows then union together and use a select tool to deselect the created row count field.

 

I have attached a workflow unioning generate rows onto the empty input then select tool to deselct generated rows and union the two inputs for desired output

BS_THE_ANALYST
14 - Magnetar

@gurmukh Change formula tool to generate the number of null rows:

Screenshot 2023-06-23 152311.png

gurmukh
5 - Atom

@ed_hayter, Thank you so much for the solution

gurmukh
5 - Atom

@BS_THE_ANALYST,

Thanks for the solution

 

Labels