Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Need a help to resolve issue get formula

rojan
7 - Meteor

Hi ,

 

can I get a help to resolve below issue. From below table i want to get data in such a manner. if column 2 is blank then I want to get data from 3 column other wise from column 1.

 

And I tried below formula but it does not work

 

IF ISNULL([COLUMN2])THEN[COLUMN3] OTHERWISE[COLUMN1] endif.

 

123
abadca
 ma 
cd  
  tb
cb dk

 

Thanks

Rojan

17 REPLIES 17
HomesickSurfer
12 - Quasar

Hi @atcodedog05 

 

I like it!...swapped the priority per @rojan 's [2][3][1] requirements.

 

IF !IsEmpty([2]) THEN [2] // First priority
ELSEIF !IsEmpty([3]) THEN [3] // Second priority
ELSEIF !IsEmpty([1]) THEN [1] // Third priority
ELSE Null() ENDIF

 

rojan
7 - Meteor

Thanks for below solution and its working!

 

One more question if I want to make new column based on below input .

 

input column 
  
a10
a10
a10
b30
b30
b30
c20
c20
c20

 

 

desired output 
  
a30
b90
c60
atcodedog05
22 - Nova
22 - Nova

Hi @rojan 

 

Is this what you are looking for. Groupby and sum.

 

atcodedog05_0-1629373962214.png

 

Hope this helps : )

 

HomesickSurfer
12 - Quasar

I concur.

@rojan do u require the blank/empty first row a over the summary?

rojan
7 - Meteor

Hi,

 

Thanks , its working

Rojan

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @rojan 

Cheers and have a nice day!

rojan
7 - Meteor

Hi ,

 

I need a help to resolve below issue . 

 

 Problem 
 Nameamount
1Diversifying300
2Diversifying prospectus200
3Diversifying strategies500

 

I want to merge below input with common name and get total amount

 

Desired output 
Diversifying1000

 

regards

Rojan

Elias_Nordlinder
11 - Bolide

Hello @rojan ,

 

It is best to create a new post if you have a different question from the original one.

Otherwise it will be confusing to find which answer is to which question if someone is searching for this topic later, as well as which is the accepted answer.

 

If you create a new topic I can take a look at it 🙂


//Regards

Elias

Labels
Top Solution Authors