Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Extract Dividend

BRRLL99
11 - Bolide

Hi guys,

 

From the given text i will like extract only Dividend - Rs- 6.00

 

Final Dividend - Rs. - 10.0000
Consolidation of Shares
Consolidation of Shares
Reduction of Capital
Dividend - Rs. - 6.0000
Interim Dividend - Rs. - 13.5000

 

EXPECTED RESULT :

 

Final Dividend - Rs. - 10.0000  
Consolidation of Shares  
Consolidation of Shares  
Reduction of Capital  
Dividend - Rs. - 6.0000Dividend - Rs. - 6.00006.0000
Interim Dividend - Rs. - 13.5000  
3 REPLIES 3
Adrian_T
Alteryx Alumni (Retired)

Hi @BRRLL99,

 

Your approach will be similar to my reply to your previous post here. All you would have to do is to change the formula to:

 

 

IF StartsWith([Purpose],"Dividend") THEN [Purpose] ELSE "" ENDIF

 

 

Hope this helps! 🙂

Adrian_T
Alteryx Alumni (Retired)

Hey @BRRLL99,

 

I noticed you wanted another column to parse the dividend amount. Here is an extension to my reply to achieve this. 🙂

 

You can use a RegEx Tool set to Parse output method with the following expression. Have attached a sample workflow for you as well.

 

 

(\d+\.\d+)

 

 

Adrian_T_0-1657953090386.png

 

Qiu
21 - Polaris
21 - Polaris

@BRRLL99 
I did not quite get your logic but if just to get the needed output.

0716-BRahuL99.PNG

Labels