cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cventura
New Member

Power Apps Maps - Memo Latitude & Longitude to excel

Quando memorizzo latitudine e longitudine da app verso excel il dato non viene memorizzato correttamente (formato cella generale). Appare il problema del "converti in numero".

Vedi esempio: ID 1 e 2 sono visualizzati correttamente.

Se modifico manualmente il foglio excel (converti in numero) viene visualizzato correttamente anche ID3
Come posso risolvere?

 

Grazie,

 

1 ACCEPTED SOLUTION

Accepted Solutions

OK, two more things to try:

  • Ensure the columns in your Excel table are formatted to numbers. Then, refresh this data source within Power Apps
  • Edit the Format property of the DataCardValue fields for latitude and longitude to show TextFormat.Number

Let me know if this helps. I believe it is an issue with how Excel connects as a data source to your form.

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

View solution in original post

5 REPLIES 5
BCLS776
Super User
Super User

Hi, I don't speak Italian, so I hope I translated your post correctly.

 

It sounds like Excel is recognizing your latitude and longitude values as text, instead of numbers. To help with this, try wrapping the statement that sends the data back to the Excel sheet with a Value function. For example:

 

Patch(myExcelTable,
    Defaults(myExcelTable),
    {
        Latitude: Value(myLatitudeLabel.text),
        Longitude: Value(myLongitudeLabel.text)
    }
)
_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

Hi, thanks for your response.
I have updated the "update" tab in the form with the following formula:

Update = Value(DataCardValue4.Text)

but the problem persist.

 

see att PWS01.PNG

OK, two more things to try:

  • Ensure the columns in your Excel table are formatted to numbers. Then, refresh this data source within Power Apps
  • Edit the Format property of the DataCardValue fields for latitude and longitude to show TextFormat.Number

Let me know if this helps. I believe it is an issue with how Excel connects as a data source to your form.

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

View solution in original post

BCLS776
Super User
Super User

This thread has some additional insights

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

Solved, Thanks.

 

cv

Helpful resources

Announcements
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!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,568)