ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Summarizing the data based on Group by and filtering out on certain condition

madhurinani
アステロイド

madhurinani_1-1657891022988.png

 

Hello,

I am trying to aggregate the above data by Group and sum of Number column and it should exclude the ESOP row when summarizing.

 

Output should be:

A new column to be created, and on row #5, the value would be 18/(5+6) i.e 18/11

and on Row #9, it would be 6/3

 

I tried using the summarize column but unable to filter to exclude the ESOP row when summarizing

the below pic shows the o/p expected

madhurinani_2-1657891242980.png

 

 

3件の返信3
LouisJ
アステロイド

You cannot directly make what you want in only a summerize block, but you can easily enough create a workaround by creating a new column for which "ESOP" and "_total" column are 0's, so that the summerize sums correctly for each Group, and then handle the calculation in a formula tool.

LouisJ_0-1657892377416.png

Let me know if you needed anything more specific,

LJ

 

gabrielvilella
マグネター

Hi @madhurinani, let me know if this works for you.

gabrielvilella_0-1657892673621.png

 

madhurinani
アステロイド

@gabrielvilella @LouisJ : Both of your solutions worked for me.

Thank you!

ラベル
トップのソリューション投稿者