Hello everyone, I feel like there's an easy answer to this but I have spent hours and cannot find one. I have two datasets being produced from two different sources, that should in theory be exactly the same if they both worked correctly, but they do not.
My goal is to make a workflow that can compare the numeric fields in both based on the unique identifiers (in my very simple example below they are name and city), and at the end have the columns ordered as;
ProdField1, TestField1, VarianceField1, ProdField2, TestField2, VarianceField2, and so on.
I put together a very simple workflow attached that achieves this. My issue is I have to do this comparison for about 10 very different datasets and I have up to 30 numeric fields in some. The dataset records and field names change between pulls so it makes writing/changing the formula that creates the variance as well as sorting them to fit the order in the end result each time really inefficient. Additionally, for some datasets it can be 5-10 fields that create the Unique ID, and the records are never sorted the same in both datasets (each one can include records the other does not). Between the two datasets I am comparing, the columns will always be named the same thing and be ordered the same way, so that's a plus.
Any help/suggestions you may have are very, very appreciated as it has taken me nearly 3 hours to do only one of them. Thank you so much!