How to Filter CSV (Comma-separated values) in Google Data Studio?

北城以北 提交于 2021-02-10 15:52:14

问题


I'm currently building a dashboard and I was hoping to have a way that users could filter without having to edit the dashboard at all. I have a Data set similar to this:

Object      Tags
Example 1   dog, cat, pets
Example 2   pets, bird
Example 3   bird, home decor

I want to have a table in Google Data Studio that shows these details then additionally a filter where you can type in any text and it will filter by only records where your text is contained in "Tags".

For example, I could type in "bird" and then only the records for "Example 2" and "Example 3" would show in the table.

Is this currently possible?


回答1:


One way it could be achieved is by using the recently released CSV Filter Control Community Visualization:

1) Community Visualisation Access

  • At the Data Source, ensure that Community Visualisation Access is turned On.
  • GIF to elaborate on #1:

2) CSV Filter Control (Location)

  • Add the component to the Report by clicking on the Community Visualisations and Components button and selecting the component and placing it on the Report.
  • GIF to demonstrate #2:

3) CSV Filter Control (Usage)

  • Column to Filter on: Tags
  • Interactions: (Tick) Apply filter
  • View Mode: Single-select or Multi-select the required values
  • Google Data Studio Report and GIF to visualise #3:


来源:https://stackoverflow.com/questions/61879108/how-to-filter-csv-comma-separated-values-in-google-data-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!