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

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.
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
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,704)