Alteryx Designer Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.
SOLVED

Count the number of occurrences without summarizing the data

HadiElmo
5 - Atom

In excel I can use a count if function with dynamic range to count the occurrence of a value in a variable but not sure how to do it in alteryx. I don't want to use a tool that summarize the data and want to maintain it as it is. 

 

What I have

 

Pol noPrem
AAA111150
ABB100500
AAA111250
AAA111275
ABC300175
ADD100160
ABB100105
BBB20093
BDD20066
ABC300250

 

What I want

Pol noPremCOUNT
AAA1111501
ABB1005001
AAA1112502
AAA1112753
ABC3001751
ADD1001601
ABB1001052
BBB200931
BDD200661
ABC3002502

 

Thanks in advance!

3 REPLIES 3
DataNath
17 - Castor

@HadiElmo if I'm understanding the ask right, is this what you're after?

 

CountOccurrences.png

Yoshiro_Fujimori
15 - Aurora

@HadiElmo ,

 

I tried to follow your expected outcome. I hope this helps.

 

Workflow

1313788_workflow.png

 

 

Qiu
21 - Polaris
21 - Polaris

@HadiElmo 
This is in Cloud, right?

One Tile tool can do the trick, I believe.

2024-09-04 142822.png