Need help with Nested Lookups

hey @Ratish_Gupta I posted something similar here Data Hierarchy and Aggregration - see if it helps