Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Create New Data Row by dividing two values from the existing rows.?

kiotsuresh
8 - Asteroid

Hi,

I have Data like below where i need to populate the third row by dividing the values of row 1 and row 2 , Revenue = Profit/Sales, How to achieve this through Alteryx. I need to Populate the Value as well as new name Revenue from the existing data set. 

 

ItemmonthClassificationValueCategoryName
ChairJan - 2022Furniture

50000

Home FurnitureProfit
ChairJan - 2022 Furniture50Home FurnitureSales
ChairJan - 2022 Furniture1000 = 50000/50Home FurnitureRevenue
19 REPLIES 19
kiotsuresh
8 - Asteroid

I have To Perform this operation for a larger Datasets to achieve a new row dimension ( Revenue).

ShankerV
17 - Castor

Hi @kiotsuresh 

 

You can achieve the diving of values with the help of multi row formula.

 

Many thanks

Shanker V

KrishnaChithrathil
11 - Bolide

@kiotsuresh 

is this something you want?

KrishnaChithrathil_0-1669014957590.png

 

ShankerV
17 - Castor

Hi @kiotsuresh 

 

Please find the solution below.

 

ShankerV_0-1669014986532.png

 

kiotsuresh
8 - Asteroid

Hi Shanker,

 

Will This works for the entire dataset where 10000 records or there? or just for three records?

kiotsuresh
8 - Asteroid

Will This works for the entire dataset where 10000 records or there? or just for three records?

DenisZ
11 - Bolide

Please find attached solution. This should also work for multiple items. 

 

DenisZ_0-1669017581470.png

 

 

 

ShankerV
17 - Castor

Hi @kiotsuresh 

 

I have tried for a huge data set also.

 

It worked.

 

Please find the result below.

 

Many thanks

Shanker V

ShankerV
17 - Castor

Hi @kiotsuresh 

 

Input:

 

ShankerV_0-1669017661921.png

 

Output:

 

ShankerV_1-1669017694076.png

 

 

Many thanks

Shanker V

 

Labels