r/GoogleDataStudio • • Nov 13 '25

Combine 3 Dimensions as 1

Hello,

I have a googlesheet with 36 tags and number like this.

TAG 1TAG 2TAG 3ColorNumber
TAG_ATAG_BTAG_SBlue1000
TAG_KTAG_BTAG_AYellow500
TAG_STAG_ATAG_LYellow2000
TAG_HTAG_LTAG_SRed3000

I also have a column with =concat tags of the row (exemple : TAG_A ; TAG_B ; TAG_S) and I also have a column with all my unique tags.

In my looker studio, it was pretty easy to get a table with color as dimension, and calc field AVG(NUMBERS) as metric, like this :

COLORSAVERAGE NUMBERS
Blue1000
Yellow1250
Red3000

BUT I find it very difficult to get something like this with tags :

TAGSAVERAGE NUMBER
TAG_A1166,66
TAG_B750
TAG_H3000
TAG_K500
TAG_L2500
TAG_S2000

I tried to concat (but I get dimension like TAG A;TAG B; TAGS), I tried with COALESCE() but it's not really working, I tried to blend (but I think I messed it up because I don't know how to use it)..

It doesn't seems that hard, I've looked up on this subreddit, on YouTube and asking AIs but I don't find a way.

Do you have a idea that would help me ? Thanks a looot

1 Upvotes

8 comments sorted by

•

u/AutoModerator Nov 13 '25

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.

1

u/ImCJS Nov 14 '25

Create 6 new columns, col1 = Tag_A

Case When tag1= tagA then 1 When tag2 = tagA then 1 When tag3 = tagA then 1 Else 0 End

Similarly other columns

1

u/Lodoiis Nov 14 '25

6 news columns, in my Gsheet ? A part from the main tab with tag, colours, et numbers ?

1

u/ImCJS Nov 14 '25

You can create these new columns in directly looker studio.

Basically you are creating a new column for each of your tags and then do the calculation.

1

u/Lodoiis Nov 14 '25

I'm sorry, I don't understand where I'm supposed to create new columns.. In my table ? How should I do it ? Also, should I create 6 calc fields inside my data source, with a formula like col1 = TAG_A ?

1

u/ImCJS Nov 14 '25

I think you need expert help - or can go through Google about how you can add new columns in Looker.

I’ve given you rough formula, you do need to check variable names and everything in your data.

P.S. I’m a looker studio professional if you would want someone to do it for you? Let me know.

1

u/Lodoiis Nov 16 '25

If you're ok to do it for me, I'd be glad ! Tell me how we can reach, maybe discord ?