Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, i have a field of IP Addresses in my dataset which i would like to convert to country. I have tried using the API from https://ipstack.com/ however i seem to be getting an error that my API key is not valid (which i know it is). Any ideas on what i am doing wrong?
(#"IP Address" as text) =>
let
Source = Json.Document(Web.Contents("http://api.ipstack.com/" & #"IP Address" & "?access_key= MY KEY
&format=1")),
#"Converted to Table" = Record.ToTable(Source),
#"Transposed Table" = Table.Transpose(#"Converted to Table"),
#"Promoted Headers" = Table.PromoteHeaders(#"Transposed Table")
in
#"Promoted Headers"
Hi @adam_macs ,
See the following thread to if helps.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
thanks @v-cgao-msft , i checked out the link but the API looks to have changes since then. Thanks anyway
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
100 | |
54 | |
21 | |
12 | |
11 |