Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

% of row with the summarize tool

$
0
0

Hello,

 

I am trying to accomplish something simple that can be done in excel but getting a bit stumped of how to get it arranged in my workflow. I have two summaries below that I unioned together:

 

Different dates with a summed total number per day

Capture.JPG

 

Then another summary of the total

Capture 2.JPG

 

After union:

Capture 3.JPG

 

What I am trying to get is a new column created for each row with the % of quantity based off the total. So an exmaple is row 5 would be 1,9130,343/45,770,667= 41%

I know I could probably make it so the total sum in row 8 is just repeated in row 1-7 and can just do a formula, but I would like to know how to do the calculation without having that extra step added in place. Is there a way I might not even need the sum and alteryx knows to calculate the percentage based off the 1st picture alone?

 

Below is a snapshot of what I am ultimately looking for the end result to be. Any help would be much appreciated, thanks!

 

DateStore CountCirculation% By Day
Mon 02/296204,606,0259%
Tue 03/014,26225,757,15551%
Wed 03/022,06114,568,14529%
Thu 03/036364,456,0669%
Fri 03/041821,105,7722%
    
Sum7,76150,493,163 

Viewing all articles
Browse latest Browse all 4999

Trending Articles