Hello,
This is a continuation of a previous post that @AbhilashR helped me solved. Link to previous post: https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Summarizing-Calculation-Conditional-Sum-with-Alteryx-workflow/m-p/546430/highlight/true#M117906
Now that I have the totals summed as I want. I want to assign a sub-category base don a hierarchy that is also dependent on the oldest/first Check Date for a respective ID #. I would like to create columns that assign the sub-category based on the priority from highest to lowest (total of 12 sub-categories listed from 1 to 12, where 1 is the highest priority and 12 being the lowest priority).
An ID may have 2 check dates of the same datestamp but can have different categories (See ID 6354), or have multiple sub-categories linked a different datestamp for each record for the same ID. But, I need the initial datestamp linked category to be assigned according to the priority list.
This is what I imagine the data to end up looking like - probably makes more sense than my explanation of it.

This is the prioritized hierarchy list for the sub-category:

I've tried it a few ways, with some transpose and summarize function. but not working. Also open to if there is a better way to set up the data than I have proposed, I am not a data scientist or expert.
Thank you in advance!
@AbhilashR