Alteryx Designer Desktop Discussions

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

Calculating team size using iterative macro

Dheeru28
8 - Asteroid

Hi All,

 

I have this workflow with an iterative macro. I had downloaded the macro from some other post on the community. What I want to get as output is the team size for all the employees who are managers. I have attached a sample workflow with dummy data.

 

In the real data (the one I have), the results are correct for most employees, but incorrect for managers with very large teams. I'm unable to find what is the problem.

 

Can someone please help out?

12 REPLIES 12
Dheeru28
8 - Asteroid

Yes, on this sample data, it's correct. But on my data, it's not. For many people, the team size is lesser than it should be.

I guess I must be missing something.

Christina_H
14 - Magnetar

As an alternative, try filtering after the macro to see if that makes a difference.  It gives the same results on the sample data.

Christina_H_0-1686135016500.png

 

Dheeru28
8 - Asteroid

This worked. Was right in front of me and I was looking everywhere else.

 

Thank you so much, really appreciate the help!!

Labels