Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Transforming data profiling results

njvitale421
5 - Atom

Hello, I am new to the tool and the forum. I did some searching for similar cases and didn't come up with the anything. I do apologize if this has already been answered elsewhere. Thanks in advance for any assistance.

 

I have done a basic data profiling workflow in Alteryx and now I am looking to make the results more usable. I have acquired the basic profiling results (I'm sure most of you are familiar with this output), but what I would now like to do is convert make “Name” into separate columns and have the corresponding “Value” in each column. This will make it easier to consume.

 

End state would be one record for Field Name, all “Name” values (Shortest Value, Count Unique, Field Type, etc) would become separate columns and the corresponding values from “Value” would populate those columns.

 

Field Name

Shortest Value

Minimum

Maximum

Count Unique

Unique Values

Field Type

Field Size

Document Type

Filed Form

Fact Sheet

Non-Filed Form

3

Fact Sheet

Value

Value

Release

Value

Value

Value

Value

value

value

value

 

10 REPLIES 10
JohnJPS
15 - Aurora

Will this work:

"Cross Tab" tool... Group by "FieldName" ... New Column Headers: "Name" .... Values: "Value"

 

njvitale421
5 - Atom

I tried this and I also tried pairing it with the Transpose tool. The only thing I can get is a long list of concatenated results in each row. 

 

It looks like the way I have to go is to set up a batch macro and format it correctly in conjunction with maybe a unique name tool/cross tab tool. I have been working with the Alteryx support via email to get this solved as well. I will keep you posted on my results.

JohnJPS
15 - Aurora

Hi @njvitale421,

In the CrossTab tool, towards the bottom of the Config Panel, try "First' instead of "Concatenate."

Hope that helps!

njvitale421
5 - Atom

The solution required a combination of Unique Name tool, batch macro, transpose and cross-tab tools. Worked with Alteryx customer support to get this workflow made. The data profiling results are much more consumable now. Thanks for the help. Using just cross-tab/transpose tools always resulted in duplicate results or long concatenated results.

nivo1345
5 - Atom

Could you PLEASE share this workflow? This is something that I would want for every data source. It's sort of creating a data dictionary, but adding data quality indicators as well.

njvitale421
5 - Atom

Packaged workflow is attached below. Reach out if any questions. Sorry for the delay.

Andy_Katona
8 - Asteroid

This is great as I was thinking about this today. Where is the data profile macro at. I couldn't find it.

jenniec
5 - Atom

Thank you so much for posting this. It's really helpful for exporting the data profiling results.

nivo1345
5 - Atom

Appreciate it!

Labels