Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Percent Summation

Scraps822
6 - Meteoroid

Hi Everyone,

 

In excel I was able to sum a column and represent it by a % in a pivot table. I'm trying to figure ou how to do that with Alteryx.

 

For instance, 

KPI Answer Value
Awareness 1 30
Awareness 0 80
Interest 1 15
Interest   5
Interest 0 10

 

this is what I have.

 

I want to get this

 

73%

KPI Answer Value
Awareness 1 27%
Awareness 0  
Interest 1 18%
Interest   73%
Interest 0 9%

 

Any help would be great.

 

Thank you,

Alberto

2 REPLIES 2
MarqueeCrew
20 - Arcturus
20 - Arcturus

You will use 2 SUMMARIZE tools and 1 Join followed by 1 Formula.

 

Summarize(Answer)

  • Groupby KPI
  • Groupby Answer
  • Sum (Value) - 

 

Summarize(KPI)

 

  • Groupby KPI
  • Sum (Value) - Rename to Sum_by_KPI

 

JOIN

  • Key1 = KPI
  • Key2 = KPI

 

Note:  You can unselect the RIGHT_KPI Field

 

FORMULA

 

Percent :=

 

[Sum_Value] / [Sum_by_KPI]

 

This should get you going....

 

Thanks,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Scraps822
6 - Meteoroid

Thank you for this! It worked great.

Labels
Top Solution Authors