I need some help in converting the json data to a plain table.
I can bring the json API call data into Alteryx using text input, download and json parse tool. After reading some posts in this community, I learned that I need to use RegEx, Cross Tab and Join tool.
But I feel my case is more complex than given solutions. The json code has 14 schema levels. I still need help to figure out how to convert the json data to an Excel Table with all fields lay out.
Attached is the example source data.
Thanks.
Solved! Go to Solution.
Thank you.
Is it possible each OrderId is one row?
I applied the solution to the whole data set, I see the OrderID merged in one data cell, for example:
Record_id | actionStatus | OrderID |
1 | Installed,Installed,Installed,Installed,Approved Priority,Approved Priority,Approved Priority,Approved Priority,Approved Priority,Approved Priority,Approved Priority,Pending Prioritization,Pending Prioritization,Cancelled,Pending Prioritization,Pending Prioritization,Pending Prioritization,Pending Prioritization,Pending Prioritization,Pending Prioritization,Pending Prioritization,Pending Prioritization,Pending Prioritization,Installed,Pending Prioritization,Approved Priority,Approved Priority | Order-202702,Order-269633,Order-269634,Order-331807,Order-331817,Order-331818,Order-331819,Order-331820,Order-331821,Order-331822,Order-331823,Order-488288,Order-488289,Order-488292,Order-488293,Order-488294,Order-488296,Order-488297,Order-488298,Order-488300,Order-488301,Order-488305,Order-488306,Order-491884,Order-494303,Order-494304,Order-494305,Order-494306,Order-494307,Order-494308,Order-494309,Order-494310,Order-494311,Order-494312,Order-494313,Order-494938,Order-494945,Order-494952,Order-494960,Order-494962,Order-494963,Order-494964,Order-494967,Order-494968,Order-494970,Order-494971,Order-494972,Order-494973,Order-494974,Order-494975,Order-494977,Order-495088,Order-495090,Order-495091,Order-495092,Order-495094,Order-495096,Order-495097,Order-495098,Order-495101,Order-495102,Order-495255,Order-495261,Order-495262,Order-495264,Order-495265,Order-495266,Order-495267,Order-495272,Order-495274,Order-495275,Order-495277,Order-495278,Order-495279,Order-495614,Order-495690,Order-495692,Order-496704,Order-496707,Order-496708,Order-496709,Order-496710,Order-496766,Order-496767,Order-496780,Order-496783,Order-496973,Order-496999,Order-498844,Order-498845,Order-499270,Order-499272,Order-499273,Order-499274,Order-499275,Order-499276,Order-499277,Order-499650,Order-499651,Order-499655,Order-499656,Order-499657,Order-499658,Order-499663,Order-499667,Order-499668,Order-499669,Order-499673,Order-499674,Order-499849,Order-500205,Order-540525,Order-540526,Order-540527,Order-540529,Order-540530,Order-540531,Order-540532,Order-540533,Order-540534,Order-540535,Order-540536,Order-540557,Order-540558,Order-540559,Order-540560,Order-540561,Order-540562,Order-540563,Order-540564,Order-540565,Order-540566,Order-540567,Order-540568,Order-540570,Order-540571,Order-540572,Order-540573,Order-540574,Order-540575,Order-540576,Order-540577,Order-540579,Order-540580,Order-540581,Order-540582,Order-540583,Order-540584,Order-540592,Order-540593,Order-540594,Order-540595,Order-540596,Order-540597,Order-540598,Order-540599,Order-541325,Order-542465,Order-542528,Order-542531,Order-542532,Order-542533,Order-542536,Order-542544,Order-542545,Order-542854,Order-543385,Order-543386,Order-543387,Order-543388,Order-543390,Order-543391,Order-543392,Order-543393,Order-543394,Order-543395,Order-543397,Order-543398,Order-543400,Order-543401,Order-543402,Order-543403,Order-543404,Order-543405,Order-543584,Order-543684,FL |
3 | Cancelled,Reserved | Order-229637,Order-369006,Order-369011,Order-420807,Order-426166,Order-432273,Order-432274,Order-432275,Order-432276,Order-436774,Order-443959,Order-512066,Order-512095,Order-512096,Order-512388,Order-512389,Order-512390,Order-512391,Order-512392,Order-512393,Order-512394,Order-512396,Order-512397,Order-512398,Order-512399,Order-512400,Order-512401,Order-512402,Order-512403,Order-512405,Order-512406,Order-512407,Order-512408,Order-512409,Order-512418,Order-512419,Order-512420,Order-512421,Order-512422,Order-512423,Order-512424,Order-513273,Order-513274,Order-513275,Order-513278,Order-513279,Order-513492,Order-513493,Order-513499,Order-513500,Order-513502,Order-513505,Order-513506,Order-513535,Order-513670,Order-513674,Order-513675,Order-513753,Order-513754,Order-514254,Order-514257,Order-514261,Order-514262,Order-514263,Order-514264,Order-514265,Order-514266,Order-514267,Order-514268,Order-514269,Order-514270,Order-514271,Order-514272,Order-514273,Order-514274,Order-514275,Order-514277,Order-514278,Order-514280,Order-514281,Order-514282,Order-514283,Order-514393,Order-514394,Order-514395,Order-514396,Order-514559,Order-514742,Order-514743,Order-514744,Order-514745,Order-515110,Order-515111,Order-515112,Order-515418,Order-515420,Order-515422,Order-515423,Order-515424,Order-515425,Order-515500,Order-515504,Order-515505,Order-515506,Order-515507,Order-515755,Order-515756,Order-515757,Order-515884,Order-515885,Order-515886,Order-580823,Order-580824,Order-580825,Order-580826,Order-580827,Order-580828,Order-580829,Order-580830,Order-580831,Order-580832,Order-580833,Order-580834,Order-580835,Order-580836,Order-580837,Order-580838,Order-580839,Order-580840,Order-580841,Order-580842,Order-580843,Order-580844,Order-580845,Order-580846,Order-580847,Order-580848,Order-580849,Order-580850,Order-580912,Order-580938,Order-581005,Order-581050,Order-581151,Order-581152,Order-581237,Order-581293,Order-581297,Order-581298,Order-581309,Order-581310,Order-581311,Order-581330,Order-581331,Order-581332,Order-581333,Order-581334,Order-581335,Order-581336,Order-581337,Order-581338,Order-581339,Order-581341,Order-581342,Order-581346,Order-581347,Order-581348,Order-581349,Order-581350,Order-581351,Order-581352,Order-581353,Order-581410,Order-581447,Order-581448,Order-581449,Order-581450,Order-581451,Order-581452,Order-581454,Order-581455,Order-581456,Order-581457,Order-581495,Order-581496,Order-581497, |
I want the RecordID assign to each unique OrderID and its associated info (aka, each OrderID is a row).
Hi @LEXQ2005 , please refer to the screeshot . I have resolved the issue of concatination this occured due to a mistake in the formula tool when fetching the record id, by just assuming that the record id was single digit so if the record id is 11 it will consider it as 1 as per the calculation. Therefore, I have replaced the workflow with the one attached along with this post. I hope it helps!
Note: If this works for you then please like and mark this post as solution.
Thanks!