Possible to group values and turn them into a chart?

Hello everyone,

I'm new to using Looker for visualizations and excited to learn more about the program. I'm coming from a Tableau background so I'm hoping to gain insight and practice another visualization tool.

On the back end, I'm using Google Sheets to connect the data; nothing related to SQL. 

I am wondering if there is a way to group values, similar to Tableau, in Looker and create visualizations using so. 

Example of Original Data ( Link to the Google Sheet )  

Sample Picture 1.png

What I'm Aiming To Do (Tableau Example): 

  • Create a custom group with specific values: 
    • 4 Projects on Hold 
    • 3 Projects Complete
    • 3 Projects Dropped
  • Turning Them Into: 
    • 3 Projects Complete -> Complete
    • 4 Projects on Hold + 3 Projects Dropped -> 7 Incomplete 

Tableau Example:

Sample Picture 2.png

Essentially, turning a pie chart (Sheet 1) into a custom grouped pie chart (Sheet 2)

Sample Picture 3.png -->     Sample Picture 4.png

But I'm stuck at this step... which pretty much gives me the pie chart from Sheet 1 (above), but I'm wondering if there is a way to create custom groups within Looker to get it like Sheet 2 (above). 

Sample Picture 5.png

Thank you

 

 

Solved Solved
0 3 3,921
1 ACCEPTED SOLUTION

You may try adding a custom field in Looker Studio like below:

Add a fieldAdd a field

Next, create the expression like given below

Create the expressionCreate the expression

 

And then place the grouped field in the pie chart in Looker studio like shown below.

 

Add to the pie chartAdd to the pie chart

 

~Ashish

View solution in original post

3 REPLIES 3

You could use Custom Dimension with a case statement to achieve this grouping

 

You may try adding a custom field in Looker Studio like below:

Add a fieldAdd a field

Next, create the expression like given below

Create the expressionCreate the expression

 

And then place the grouped field in the pie chart in Looker studio like shown below.

 

Add to the pie chartAdd to the pie chart

 

~Ashish

this was helpful! thank you. It seems with Looker the way to create custom groups is through creating the field; but there does not seem to be the ability to create them in a drag and drop custom method like Tableau. Good information to know. thank you!

Top Labels in this Space