Rock U - Reporting - Weaving Data Views

Transcribed Video Content

The most powerful habit in reporting is to never build the same criteria twice. With weaving data views, you can pull information from one data view and feed it into the next And it makes your list of data views cleaner, easier to understand, and more maintainable. So let's start weaving data views right now. Weaving data views is about getting different entities passed through these data view filters. So an example, I would a list of all the people in a small group studying the topics of x or y. We'd first get a data view that applies to groups, and we'd output those groups with a topic of x or y. We'd pass that data view through a group member data view to get the group members of those groups. Then we do this again by pulling that data view out and, running it with a person data view to get the people those members represent. Now how do we do that? We'll go to the homepage in Rock, go to your tools, then go up to data views. And we're just gonna look at the adult member and attendees data view and edit it. You'll notice that this applies to person, the entity of person. And if we go add a new filter, one of the first filter types you'll see is called existing data view. When you use this, you can filter on another data view, but it only allows you to filter on person data views. If you want to extend it and instead start weaving data views, you can find these types which say related data views, and it shows all the kinds of data views that you can use to weave, including attendance records, connection requests, and then you see the group data view and group member data view, those ones we referred to earlier. Then we can pick one of those data views and we can start weaving. Weaving data views means you build a filter once and you reuse it everywhere, making your data view library cleaner and easier to maintain.