cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Adding fields that share a similar value each day

Hi, 

 

So I'm trying to SUM [CAPACITY] and [OCCUPANCY] with each time that Seaton House is mentioned within each occupancy date. Hopefully, the final result is just one row per day that gives the total capacity and occupancy for each day. AlteryxP1.png

 

Thanks,

 

Brian

Alteryx Partner

Use a Summarize tool - Shelter_Name and Occupancy_Date should be set to "group by".Capacity and Occupancy should be set to Sum

Alteryx Certified Partner
Alteryx Certified Partner

@brian_truong,

 

I would use a summarize tool to get the "desired" data.  You could filter it for Seaton House or include all shelters.  Your choice.  I then union the data together with the original data and perform a sort by date and shelter to get a new output record for each shelter.

 

capture.jpg

 

Cheers,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and reboot. Order shall return.
Highlighted

That method does group the data together, however, I was wondering if it would be possible to keep the rest of the data set and just have a new row that can be created to reflect the sum of the occupancy/capacity per day. 

Alteryx Partner

To do that, union the totals back on to the original data :) 

Labels