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.

Grouping based on dates

ll98
9 - Comet

Hi All -- I'm looking to take from the data - the last date Batch GL Date  as well as its measures.  Presently, I'm able to capture it but it only captures 1 measure

 

For example -- The last GL Date 3/26/2000 but there are two values associated with the same date but its only grabbing one.

FundBatch GL DateContribution
Fund III3/26/20001000
Fund III3/26/20003000

 

 

Thanks 

6 REPLIES 6
grazitti_sapna
17 - Castor

Hi @ll98,

 

I can see your workflow is fetching both the values for the date mentioned. Can you please elaborate on your problem and let me know your expected output?

 

grazitti_sapna_0-1614609039980.png

 

Sapna Gupta
BrandonB
Alteryx
Alteryx

The best way to do this is with a summarize tool to find the max batch GL for each fund and then join it back with a join tool. You will also need to convert the batch GL date to an actual date as seen below. Workflow is attached. 

 

max.png

messi007
15 - Aurora
15 - Aurora

@ll98,

 

Please see below:

 

messi007_0-1614609198623.png

Attached the workflow,

Regards,

ll98
9 - Comet

  -- Thanks -- But I want to show is net of all the values associated with the  Max Date --   

FundBatch GL DateContributions
Fund III3/26/20004000
apathetichell
18 - Pollux

I could be off-base here but I think what you are asking to do is to sum up the contribution information by date. Your formulas are all fine - but you should change your options on your Summarize.

 

If you swap your date from first to group by and then change your contribution to summarize you'll get the total entries per day. I believe that's what you are looking for.

 

Note: your date is a string presently - you'll want to use DateTime (set to mm/dd/yyyy) to convert it to time. I just uploaded a workflow which fixes the dates, sums and then sorts out the most recent date and selects that record.

 

 

BrandonB
Alteryx
Alteryx

@ll98 you can just add a summarize at the end of my workflow that does group by fund, group by batch GL date, and sum contributions. The primary focus of my workflow was to isolate the max date and appropriately pull in the corresponding lines. Once those have been identified, you just sum up the results. 

 

sum.png

Labels