Please refrain from duplicating posts.
Best to flesh that topic out instead of starting a new one. Provide a simplified data set and your current attempt in that thread and I’ll try and have a look. For now I am locking this thread and hiding it to prevent search issues.