Load if(Previous(Domain) = Domain and SubDomain = 'total','',SubDomain) as SDomain,if(Previous(Domain) = Domain and SubDomain = 'total','',Domain) as Domain1, if(Previous(Domain) = Domain and SubDomain = 'total','',Visit) as Visit1 Resident Testing;
Drop Table Testing;
Hope it helps
Thanks & Regards, Mayil Vahanan R Please close the thread by marking correct answer & give likes if you like the post.