Skip to main content

Hi Team, 

 

I have SQL database to pull UTM data. We have many data. Clients want to pull the top 20 based on some UTM parameters combination. They have provided that combination in Google sheet.I want to use that google sheet as lookup sheet and pull the metrics values from my SQLfor that combination. 

 

 

So i have used my tableau linking key between google sheet and sql is  

 

SQLLinking condition

 

lower(utmsource+utmmedium+utmcampagin+utmcontent) ==>  

 

GooglesheetLinking

 

if [Exclude UTM Content?]='N' then 

LOWER([UTM Source])+ LOWER([UTM Medium])+  

LOWER([UTM Campaign])+ LOWER([UTM Content]) 

else LOWER([UTM Source])+ LOWER([UTM Medium])+ LOWER([UTM Campaign]) 

END 

 

 

For the above condition i can get quotes for exclude utm content=N. But issue in getting quotes for the below campagins 

 

XXX_26 

XXX_21_22 

Goodgirl26 

2025calendar 

2026calendar 

 

 

How to link Google sheet with SQL

 

 

 

 

 

  

 

 

 

 

 

 

Thanks, 

Maya 

 

#Tableau Desktop & Web Authoring

답변 1개
0/9000