In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to add last two rows of two datasets and create new output.

areeba
8 - Asteroid

Hi @atcodedog05 ,

 

I have 2 data sets

Dataset1

 

Colour   A   B    C

Red       1   2     1

Blue       2   5     2

Total      3    7     3

 

 

Dataset2

Colour       A  B    C

Green        2  2     2

Yellow        1  4     8

Total_C      3   6  10

 

Desired Ouput:

All_colour           A    B    C

Grand_total        6    13  13

 

 

idea is to total last two totals together.

 

Can you help ?

 

Regards

Areeba

 

15 REPLIES 15
atcodedog05
22 - Nova
22 - Nova

Hi @areeba 

 

Is it coming like this from the input source ?

areeba
8 - Asteroid

@atcodedog05 

i did the operation on

areeba_0-1632402937362.png

IF [value]>=1000 THEN Round[Value], 1)/1000 ELSE Round([Value], 1) ENDIF

 

but this one:

areeba_1-1632403026077.png

it is coming from source as it is , though i applied the same formula on this but this is how it coming .

 

atcodedog05
22 - Nova
22 - Nova

Hi @areeba 

 

Try this

 

IF [value]>=100 THEN Round[Value], 1)/1000 ELSE Round([Value], 1) ENDIF

areeba
8 - Asteroid

@atcodedog05 

 

yeah this worked but thinking where to apply this as i have to show 697 also before these totals also. i have to fix this in All_color(example) workflow somewhere so that it just display direct 6.911

areeba
8 - Asteroid

@atcodedog05 

 

Thank you for guidance, i solved it 🙂

 

High five 😄

atcodedog05
22 - Nova
22 - Nova

Happy to help and High five 😀 @areeba 

Labels
Top Solution Authors