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
BCLS776
Community Champion
Community Champion

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.

View solution in original post

5 REPLIES 5
BCLS776
Community Champion
Community Champion

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)
    }
)

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

BCLS776
Community Champion
Community Champion

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.

View solution in original post

BCLS776
Community Champion
Community Champion

This thread has some additional insights

Solved, Thanks.

 

cv

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,135)