I'm using hierarchy function to group accounts and link them to transactions table. Unfortunately, "left keep" function that links accounts table with transactions (Account_ID is the key) intereferes hierarchy - only one group is built instead of four. Please see the code and help: