Hi all,
I'm trying to build a workflow calculating Running Total per month, quarter or year.
(Refer to Running Total Workflow screenshot)
During the build of workflow, I encounter the below problems (I marked the corresponding alphanumeric characters onto my workflow for your ease of reference):
1/ The Running Total shuffles the order of outputs, even though I sorted the data set by order date before calculating the Running Total per month, quarter, and year.
2/ Is there a shorter solution to calculate the Running Total per month, quarter, and year while keeping only the lump sum rows?
3/ In relation to request 2 above, I'm trying to calculate the Running Total per month, quarter, and year (keeping only the lump sum rows) by:
- Using the Summarize Tool to extract the last date in each month.
- Using the Join Tool to combine the original data set with the last date in each month.
However, I encountered three issues while doing this:
a) Similar to the issue that occurs in the Running Total Tool, the output in the Join anchor of the Join Tool is shuffled, even though I sorted the data set by order date before joining.
b) Before joining, several results of the Running Total are incorrect
E.g.:
- Mar 2016 (it should be 213.74 instead of 329.93)
- Aug 2026 (it should be 4215.79 instead of 4623.35).
(Refer to Running Total Result Comparison screenshot)
c) The final result does not contain the Running Total for several months, e.g., Mar 2016, Aug 2016, Nov 2016.
(Refer to Running Total Result Comparison screenshot)
4/ Other question not in relation to my workflow
I'm new to Alteryx Community, so may I know how to attach a screenshot directly onto my post (rather than attach its screenshot like I'm doing)?
I hope to receive your discussions/ solutions to resolve the above.