Hi Jullian,
This can be done with filters on the data source. Because this is a fairly common question, I've whipped up a tutorial and posted it on my site: http://www.elliottbeaty.com/wordpress/2010/08/microsoft-infopath-2010-xml-drill-down/
Good luck
Elliott