Start Free Trial

Alteryx Designer Desktop Discussions

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

SUMIF in Alteryx

RVDL
8 - Asteroid

Hi Community,

 

Suppose I have two inputs. The first inputs look like:

IDLength
myID145
myID234
myID323
myID476
myID523

 

The second input looks like:

BuildingIDBuildingAreaCost
myID1184.1535.7
myID2195.57938.2
myID3158.37111.2
myID4140.12910.6
myID5114.8660.9
myID1200.68799.9
myID32021.37387.1
myID42082.62272.9

 

Now I want a summation of the Area and Cost to appear in the first input:

IDLengthAreaCost
myID14584.79335.6
myID23495.57938.2
myID32379.614498.3
myID476122.75183.5
myID52314.8660.9

 

Note that the figures in bold are the sums of the IDs in that second table. For example, Area of myID3 = 58.3 + 21.3 - 79.6.

 

Thanks.

3 REPLIES 3
alexnajm
18 - Pollux
18 - Pollux

Summarize the second input by summing Area and Cost by ID, then Join it to the first dataset on ID!

nagakavyasri
12 - Quasar

@RVDL Screenshot 2024-11-26 134048.png

RVDL
8 - Asteroid

Thank you.

Labels
Top Solution Authors