Alteryx Designer Desktop Discussions

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

How Do I Callout a Value

Fescobar
8 - Asteroid

I created a Join on two columns and all of the data married-up accordingly.  I need to be able to call out two values that are accurately joined without removing them from the sheet.  In other words, I don't want to use the Unique tool to separate them.  I just need them call the difference out so that the viewer is able to see it easily.  

 

In the example below the call out I would like to do is on the Retailer Desc.  As you can see the join worked by matching the Corp UPC and UPC Clean columns.  I'd like to be able to do some sort of formatting, highlight the cells, change the font number...anything to help distinguish them.

 

Corp Item NbrCorp DescriptionRetailer DescCorp UPCUPC Clean
142802MOLLYDOOKER CAB SV GIGGLEPOT(SC)11Mollydooker Cab Gigglepot Wine - 750 Ml933697500020933697500020
244379WILD TURKEY AMER HONEY SHOT MACHMollydooker Cab Gigglepot Wine - 750 Ml933697500020933697500020
910914MOLLYDOOKER VERDEL VIOLINIST(SC)17Mollydooker Verdelho Violinist Wine - 750 Ml933697500006933697500006
958350MOLLYDOOKER CAB SV GIGGLEPOT(SC)18Mollydooker Cab Gigglepot Wine - 750 Ml933697500020933697500020
964419MOLLYDOOKER SHIRAZ CARNIVAL LOVE18Mollydooker Carnival Of Love Shiraz Wine - 750 Ml933697500001933697500001
987232MOLLYDOOKER MERLOT SCOOTER(SC)19Mollydooker The Scooter Merlot Wine - 750 Ml933697500009933697500009
987394MOLLYDOOKER SHIRAZ BLUE EYED(SC)19Mollydooker Blue Eyed Boy Shiraz Wine - 750 Ml933697500030933697500030

 

Thank you!!

 

FEscobar

11 REPLIES 11
ArtApa
Alteryx
Alteryx

Hi @Fescobar - You attached a workflow without data. Would you be able to provide sample data? 

Fescobar
8 - Asteroid

Thank you .@ArtApa!

 

 

CharlieS
17 - Castor
17 - Castor

Hi @Fescobar 

 

I might approach this by highlighting the rows that contain the duplicate values in the [Retailer Desc] field. Here's how you can use some of the Reporting tools to change the fill color of duplicated values:

 

- Start by using a Summarize and Filter to determine which values are duplicated and need a color assigned.

- Then assign a randomized color to each value, so if you have 3 of the same value in your data, you can find all 3 more quickly. This process isn't perfect since colors could be duplicated or be very close, but it generally works alright. This could be circumvented by using a set list of color and I've included a container to show how that could be done as well.

- Build the color RGB values into the string format the Table tool can use like "rgb(194,241,253)"

- Join these values to the appropriate fields and configure a Row Rule in the Table tool to use that color value string like this:

 

20210107-ColorDuplicates2.JPG

 

Now your output file has the rows with non-unique values color coordinated like so:

20210107-ColorDuplicates.JPG

 

An example workflow is attached, Let me know if this helps.

Fescobar
8 - Asteroid

Thank you .@CharlieS

 

This is pretty cool stuff.  My requirement is only to call out  the differences in the Descriptions. Basically the Corp Description and the Retailer Description are different; however, the Corp UPC and UPC Clean are the same. therefore the union on both UPCs is accurate. 

 

From your screenshot, I would only need the values in Row 2 to be highlighted.  

 

Thank you SO much, again...this is cool stuff that you're sharing.

 

 

CharlieS
17 - Castor
17 - Castor

Ah I see that now. Thanks for clearing that up.

 

It would be easy enough to find records where the Retail Description has multiple Corp Descriptions assigned to it, but if we want to only highlight the "outliers" how do you imagine we could approach that? This sample is easy because there's two occurrences of "MOLLYDOCKER" and one of "WILD TURKEY", so maybe we just take the mode value as the correct match? What if the mode value is wrong, then some sort of fuzzy matching system might be necessary. 

 

I put together an example of using the model to determine the mode value and use that. The only problem is when there are even counts of each value, then the default is to use the first one. 

 

20210108-ColorDuplicates.JPG

In this scenario, 'MOLLYDOOKER CAB SV GIGGLEPOT(SC)11' would be used. Hopefully this doesn't come up much, but it's something to think about. 

 

20210108-ColorDuplicates3.JPG

 

 

Fescobar
8 - Asteroid

Thanks for the quick reply .@CharlieS 

 

Let me take a look and see how this looks.  It doesn't have to be perfect, as long we get the call out on when the Item/Material Desc are way off.  A fuzzy match would be pretty hard to maintain, we have hundreds of thousands items.

 

 

Fescobar
8 - Asteroid

.@CharlieS

 

I see what you're saying now...

 

Your statement of "so maybe we just take the mode value as the correct match?", this would highlight everything that is accurate and leave the ones that are not as is?  If so, this will work too, I have to admit, that I am not sure how to you created this workflow.  It's pretty awesome!

 

Thank you!!

 

Fausto

CharlieS
17 - Castor
17 - Castor

I'm glad I could help. If there's any part you'd like me to explain more, I'm happy to dive in. 

Fescobar
8 - Asteroid

Thank you .@CharlieS

 

How can I change the mode to highlight the entries that don't match?  Another big obstacle is that the names that my org uses will almost never be the same that the retailers use.  This is a big obstacle, so I just need to call out the ones that WAY-OFF.  Like the example above "MOLLYDOCKER" to "WILD TURKEY".  Any ideas on how to skin this?  

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels