Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

Convert country to ISO

Is there a way I can get someones ISO code from their email? I want the default of one of my searches to be by the persons ISO country code. If I use Office365Users.UserProfileV2(User().Email).country it will give the entire name. Is there a way I can convert this to ISO?

Super User
Super User

Hi @powerapps890 

You can download the Excel file from , convert it to a table and connect it to your app with the Excel static connector.  Then you can use a lookup() to that table. 



It says the function lookup has invalid arguments

It just says false

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,918)