I can get some basic queries working using Query Builder, but much of it is still a matter of much trial and error for me. I am trying to build a query which will give me results on the following structure:
The structure has three levels: Caring Unit, Structure and Member, all of which are custom Parts. I can get a report which will give me Caring Unit and Structure combinations, or Structure and Member combinations, but not all three. I am trying to answer the question, "For each member inside a shelter inside a caring unit, what are the attributes of the member, shelter and caring unit?"
Here are the two queries I have working so far. What must I do to combine them and get data on all three levels?
Members in Shelters:
Shelters in Caring Units: