cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

PowerApp doesn't accept Location columns

I just tried to make a PowerApp connected to a Sharepoint list I made.

Two of the lists columns are Location type ones meant to designate a location I am travelling from and my planned destination so it would calculate the mileage between them.

 

Unfortunately, I was unable to make the app and got this error message.

 

{ 

  "status": 400, 

  "message": "The required field \"Destination\" data type is not supported\r\nclientRequestId: db4ffc65-49cb-42bd-9eeb-6704c6bf90a3\r\nserviceRequestId: db4ffc65-49cb-42bd-9eeb-6704c6bf90a3" 

} 

 

 

Any help please?

Thanks.

6 REPLIES 6
Highlighted
Super User
Super User

Re: PowerApp doesn't accept Location columns

@RezaDorrani wrote a blog post about this about 18 months ago. is there any new capability to work with these columns Reza?

Highlighted
Regular Visitor

Re: PowerApp doesn't accept Location columns

Really?

Can I have the link to that blog post?

 

Thanks.

Highlighted
Super User
Super User

Re: PowerApp doesn't accept Location columns

Highlighted
Dual Super User
Dual Super User

Re: PowerApp doesn't accept Location columns

Hello, No progress made on location type columns. Same behavior to date. Regards, Reza
Highlighted
Community Support
Community Support

Re: PowerApp doesn't accept Location columns

Hi @PurpleHaze ,

Do you want to calculate the distance between two location columns?

I've made a similar test and found that: it's only supported to calculate the distance between two location columns' cities.

The point is:

Location column display as these columns in  powerapps:

'location1: City'

'location1: Country/Region'

'location1: Name'

'location1: Postal Code'

location1: State'

'location1: Street'

 

The most detailed columns are 'location1: City'  and 'location1: Street'.

I try to use 'location1: Street' to calculate distance, but received error.

Using  'location1: City' will work.

 

Firstly, you need to connect with bing maps.

Then use this formula to calculate:

BingMaps.GetRoute(ThisItem.'location1: City',ThisItem.'location2: City').travelDistance

Then you will get the distance between cities in location1 column and location2 column.

 

Maybe you want to know more about this function:

https://docs.microsoft.com/en-us/connectors/bingmaps/#get-route

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Regular Visitor

Re: PowerApp doesn't accept Location columns

Hello.

 

After just reading your replies,

I took a stab at it again.

 

I remade the location columns and added the following secondary columns for each:

Street, City, State, Postcode and Name.

 

I tried to make the PowerApp again, directly from the Sharepoint list but came across the exact same error as before.

It does not support the overall location columns, even if I only show the subcolumns.

 

{
  "status": 400,
  "message": "The required field \"Travelling From\" data type is not supported\r\nclientRequestId: f0fc84df-d0d9-4f95-b3c3-7b5f17c0c8dc\r\nserviceRequestId: f0fc84df-d0d9-4f95-b3c3-7b5f17c0c8dc"
}

 

Did I miss anything?

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (3,343)