Free Trial

Alteryx Designer Desktop Discussions

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

Extract Distinct List of Users to Group for Lookup Reference

JPSeagull
8 - Asteroid

Hi. I was asked to see if any of our Reviewers are doing the Schedulers' job. Reviewers can schedule appointments, but Schedulers cannot Review and sign off on the appointment. 

 

So, I would like to generate a Flag where if anyone who is a Reviewer by their role identified under "Reviewer ID" is also showing up under the "Scheduler ID." I can do a simple TRUE/FALSE flag in Tableau, but I realized that often a Reviewer will schedule the appointment, but not necessarily close their own appointment. So I need to just have a way to always identify the Reviewers (without manually entering IDs whenever we have a change) as one group and see if they show up as a Scheduler not matter who actually Reviews the appointment. I am attaching a mock up of fake names, and User IDs. 

 

The results I would like to get is:

 

Num  Den
30      50 

 

Of the 50 appointments, 30 of them were generated/scheduled by someone who is actually a Reviewer by evidence of them being at least showing once in the Reviewer ID and Name column. Again, Schedulers will never show under the Reviewer ID and Name column. I highlighted the Reviewers green under the Scheduler column to make it easy to see them

10 REPLIES 10
Qiu
21 - Polaris
21 - Polaris

@JPSeagull 
Maybe something like this?

0210-JPSeagull.PNG

mceleavey
17 - Castor
17 - Castor

Hi @JPSeagull ,

 

Ok, I think I understand.

I've attached the workflow. This is simply a case of getting a unique list of Reviewers and joining them back to the main data using the link of Reviewer ID to Scheduler ID. This creates a subset of those records where the scheduler is also a reviewer at least once.

Then count all records.

 

mceleavey_0-1644447548800.png

 

mceleavey_1-1644447561636.png

mceleavey_0-1644447686292.png

 

 

Hope this helps,

 

M.



Bulien

mceleavey
17 - Castor
17 - Castor

@Qiu , over to you, my friend. 

Too late for me to be doing solutions!



Bulien

Qiu
21 - Polaris
21 - Polaris

@mceleavey 
I believe it is your social time now.😁
Got your PM, will act on it. Thanks a lot!

JPSeagull
8 - Asteroid

Thank you, Qiu! This gets me much closer. I neglected to share a screen shot of my workflow, but I have something similar. Although I indicated I needed to generate the counts, I also need to show a "flag" column, by row of each appointment scheduled by Reviewer or not. Thank you again.

 

JPSeagull_0-1644502644281.png

 

JPSeagull
8 - Asteroid

@mceleavey Thank you for this. 

 

This gets me much closer. I neglected to share a screen shot of my workflow, but I have something similar. Although I indicated I needed to generate the counts, I also need to show a "flag" column, by row of each appointment scheduled by Reviewer or not. I see how you generated the Count which is what I needed to do, but I have to show the flag.....I apologize for not adding that detail. Ultimately, I need to bring in another column showing by row if the appointment maker was a Reviewer so I can bring it in to Tableau to do the counts as part of larger dashboard project.  Thanks again!

 

JPSeagull_0-1644502865443.png

 

mceleavey
17 - Castor
17 - Castor

Hi @JPSeagull ,

 

I just added it for you.

 

M.



Bulien

atcodedog05
22 - Nova
22 - Nova

Hi @JPSeagull 

 

Here is the updated solution. Retains the data order.

 

atcodedog05_0-1644503378992.png

 

Hope this helps : )

 

JPSeagull
8 - Asteroid

@atcodedog05 Thank you! It's perfect. 

Labels
Top Solution Authors