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.
SOLVED

SUM a dimension and then filter?

pupmup
7 - Meteor

Hello!

 

I have data in the following format:

 

ValuesDate
01/1/16
31/1/16
9.31/1/16
02/1/16
02/1/16
12/1/16
03/1/16
03/1/16

 

What I'd like is to SUM the data by date, and then remove any rows where the sum is 0 or less. So in the table above, all the rows with the date as 3/1/16 would be removed, as their sum is 0. All of the rows with a date of 2/1/16 (with a sum of 1) would remain. 

 

Can anyone please advise how to achieve this? I'm coming from Tableau and finding it hard to reconceptualise behaviour out of calculated fields.

2 REPLIES 2
MarqueeCrew
20 - Arcturus
20 - Arcturus

@pupmup,

 

Here's a two-step process:

  1. Summarize Tool:  Group by Date & Sum Values
  2. Filter Tool:  Sum_Values > 0

 

That should get you what you want, dates with a positive value.

 

Cheers,

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
pupmup
7 - Meteor

Thank you very much! I did the same and it worked. But using the summarize appears to have aggregated all my data - I can no longer browse at row level. 

 

I'm going to try and join with the data from before the summarise, keeping only those rows that match the summarised date fields. 

 

Thanks again!

Labels