Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Percent of total - Values

JDong
8 - Asteroid

Hi Team,

 

I need to calculate the percentage value for 2 columns

 

ClosedOpenClosed %Won %
01  
01  
01  
00  
00  
11  
01  
01  
10  
10  

 

How can I get the results for Closed% and Won% in the above table ? 

 

Thanks

16 REPLIES 16
atcodedog05
22 - Nova
22 - Nova

Hi @JDong 

 

Can you provide an expected output for this sample data.

atcodedog05
22 - Nova
22 - Nova

Hi @JDong 

 

Is this what you are looking for?

Here is a workflow for the task. If not provide an expected output i can help out🙂

Output:

atcodedog05_0-1606490531170.png

Workflow:

atcodedog05_1-1606490544801.png

 

Hope this helps 🙂 Feel to ask if you have any questions


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

JDong
8 - Asteroid

@atcodedog05 

 

Sure. Please refer to the below grid

 

FruitsClosedOpen%
Grapes01 
Grapes11 
Grapes01 
Grapes01 

 

So here I select fruits and the % calculation should be now based only on the Grapes category.

 

Thanks

Emil_Kos
17 - Castor
17 - Castor

Hi @JDong,

 

In order to do so you need to modify the summary tool in the workflow. I would suggest reading about summary tool to understand it better:

 

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Field-Summary/ta-p/104...

 

The workflow:

 

Emil_Kos_0-1606490741875.png

 

 

The output:

 

Emil_Kos_1-1606490751707.png

 

Good Luck!



atcodedog05
22 - Nova
22 - Nova

Hi @JDong 

 

Just before you posted expected output. I posted a reply similar to your excepted post 😅

JDong
8 - Asteroid

Thanks very much to all....it works great !

 

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @JDong 

 

Cheers and Happy Analyzing 😀

 

Feel free to reach out if you face any issues 🙂

Labels