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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,281)