Data Studio
6.6K members online now
6.6K members online now
Ask questions about Data Studio
Guide Me
star_border
Reply

Convert an IP address to a Country Code

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I have a data source with an IP address field. Is it possible to extract the country code from the IP address in a calculated field?

1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Bernard R
June

Convert an IP address to a Country Code

Explorer ✭ ✭ ✭
# 2
Explorer ✭ ✭ ✭

I don't think anything natively in datastudio will let you do this.  I suggest you download your own lookup table and add the country code directly to your datasource.

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Bernard R
June

Convert an IP address to a Country Code

Explorer ✭ ✭ ✭
# 2
Explorer ✭ ✭ ✭

I don't think anything natively in datastudio will let you do this.  I suggest you download your own lookup table and add the country code directly to your datasource.