I am a newbie to Alteryx and trying to solve a rather difficult problem. My data is not only unclean but also extremely entangled (example below):
I want to transform it to a flattened format which can be used to run aggregation and other sorts of analysis. Following is the output:
How to go about it?
Don't have Alteryx at hand,
Column B to
"Company A,2018,Shareholding"
COlumn C to
"Company A, 2018, percentage"
Do below for both parts:
"Individual Promoters","Company A, 2018, Shop1, ShareHolding", 250,000
"Individual Promoters","Company A, 2018, Shop1, Percentage", 0.000273
use text to columns, comma as separator, you get 4 columns needed.
Use a Formula tool followed by a filter Tool, to split "ShareHolding" and "Percentage" to two flows
Use Join (3 join keys: company, year, shopname) to join them back, you now get:
Company A, 2018, Shop1, 250,000,0.000273
Done