We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Sorting and Running Total

anna0anel
5 - Atom

Hello all!

 

I am trying to keep track of a 3 month survey effort with data coming in DAILY,  my goal is to send a weekly summary of the results.

 

How can I achieve the following

  • Sort info by week (there is a completion date attached to all incoming data)
  • As the weeks go by keep a running total of the results (simple sum, average and percentage of completion)

Any help or direction is welcome! I already have my workflow put together on how I would like to present the data, I now just need to sort it.

4 REPLIES 4
CharlieS
17 - Castor
17 - Castor

@anna0anel

 

Do you have some sample data that could show what the input looks like?

anna0anel
5 - Atom

Here is a small sample - the data will be coming from a database that over the next few months should grow significantly

 

DistrictTownNameMapNumberINDs FoundGAPs FoundCompletedSRVY_DATE
YELLOWBAG4369848702018-05-14
TANG11252812018-05-23
TANG11381512018-05-23
TANI127202802018-05-21

 

Thanks for the help!

CharlieS
17 - Castor
17 - Castor

@anna0anel

 

Check out the attached workflow and let me know if that gets you started in the right direction. Here's the formula used to get week from a Date field:

 

DateTimeFormat([SRVY_DATE],"%U")

//Use "%U" for Week assignment beginning on Sunday
//Use "%W" for Week assignment beginning on Monday

 

 

anna0anel
5 - Atom

This is great - Thanks so much :) 

Labels
Top Solution Authors