Have you ever wanted the user to have the ability to select which fields are utilized in a Data Studio chart? For example, suppose you wanted to look at the breakdown of a school's population by various dimensions, such as Special Education status. Gender, ELL status, High Needs status, Economically Disadvantaged status, and Title I status. In the past, you would have needed to create multiple charts, one for each dimension...making for a very busy report!
Parameters are a relatively new feature of Data Studio, and have a wide variety of uses. Essentially, they act like variables to make your report even more flexible and interactive. Here, I'm going to walk you through how parameters can be used to choose the dimension for a pie chart in a Data Studio report, allowing all the options above to be displayed in the space of a single chart. Take a look at the following simple example to see how this operates:
The data source Sheet contains a list of students, plus columns for various demographics: Gender, Special Education Status, High Needs Status, Economically Disadvantaged Status, English Learner Status, and Title I Status.
I created a Parameter called Demographics (Resource menu, Manage added data sources, Edit, Add Parameter) and gave it a list of values with the same names as my fields.
Note that parameters appear as purple in the field list, whereas fields appear green.
- Dynamic Change of Dimension using Google Data Studio Parameter
by Mimoune Djouallah (@mim_djo) - Google Data Studio secondary dimension like inside Google Analytics
by Mehdi Oudjida (@wissi_analytics) - Use Parameters to change Column Dimensions in Google Data Studio
by Michael Howe-Ely (@michaelhoweely)
What a neat use case! I love it :)
ReplyDelete