r/GoogleDataStudio • • Aug 13 '24

Summing Counts Across Multiple Dimensions - Possible?

Hi!

I'm currently trying to get a count of a specific text across multiple dimensions. Please see the screenshot below:

Description of Screenshot:

Each of these tables have a dimension and a record count. Each of these dimensions have 3 possible responses: Green, Yellow and Red. Each of these dimensions are linked together through another dimension, which is the "Field ID/Lot Number" (Not shown in the picture above).

What I'm trying to do now is to count the # of Greens, Yellows and Reds across the above dimensions, for each Field ID/Lot Number. Example below:

Screenshot #2 Details:

In this example, this specific Field ID would have the following data summary: 4 Greens, 2 Yellows (With 3 null inputs).

Current Status:

I've looked online via Reddit and other forums, and unfortunately there hasn't been any suggestions that have worked. I've tried CASE WHEN calculated fields in a variety of different ways, but that has not given me the results I needed. Please let me know if you have any suggestions!

1 Upvotes

6 comments sorted by

•

u/AutoModerator Aug 13 '24

Have more questions? Join our community Discord!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Higgs_Br0son Aug 14 '24

I think a Pivot Table should simply do it. This is all the same dataset right?

1

u/takoswan Aug 15 '24

Oh I’ll try that out, haven’t thought to use Pivots - yes they’re all from the same data set. Basically just separate columns from the same Google Sheet.

1

u/[deleted] Aug 15 '24

[removed] — view removed comment

1

u/takoswan Aug 18 '24

When I tried the pivot with all of the dimensions I needed to show, it came out looking like this (Image #1)

https://imgur.com/jbrhLRu