Hi,
Another simple way to do this 🙂
1)- write click on level 2 text box (if you want have 2 levels)
2)- Click Edit Group
3- Go to the Visibility tab
4)- Select Initial visibility Hidden
5)- Check "Visibility can be toggled by another report item"
6)- select level 1 item
7)- Click oK
and enjoy