web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Decimals disappears wh...
Power Apps
Answered

Decimals disappears when publishing app

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all. Help is needed urgent!!!!

 

I have build an app with some text fields, that gets data from, a SharePoint list (text fields) and that data is beeing calculated. Works great in edit mode, but as soon as i publish it, the decimals disappears, and the calculations go crazy. Sometimes it works as intended, but other times it seems as if the browser (Chrome, Edge) makes som crazy stuff, and remove the decimals.

 

Here is the fields in edit mode:

EditMode.PNG

 

 

 

 

Here is the fields in published mode:

LiveMode.PNG

 

 

 

 

In the field "Månedsløn" I have tried different solutions:

 

Text(RoundDown(Value(Label16 + LabelLoenFraSP);2))
 Text(Value(Label16 + LabelLoenFraSP);"[$-da-DK]#,##")

 

Both ways seems to work well in edit mode, but as soon as I publish the app the decimals disappears, and the value goes crazy. Can anyone point me in a direction to solve this issue. As mentioned before, sometimes it is correclyt showed after publishing, but then the next time I am using the app, it goes crazy 😫

 

I am from Denmark, but have my PowerApp set to english. My browsers are set to danish. 

 

Greetings from Denmark

/Frank

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    There is currently an issue with locale recognition.  In the meantime, try setting your formula to the following:

     Text(Value(Label16 + LabelLoenFraSP);"[$-da-DK]#,##", "da-DK")

    To force the locale.

     

    I hope this is helpful for you. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes oh man - this have driven me bonkers for the last two days, and then it is as simple as this 🙄. Had I just made this post two days ago. Thank you so much, and have a great day.

     

    /Frank

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Yep...get those questions on the forum before you pull all the hair out!

  • MikejteITQ Profile Picture
    5 on at

    Hi @RandyHayes 

     

    I have the same issue with the decimal point in a label. I retrieve it from a table. In the canvas, it says 3.14 and in the app, on my phone it says and calculates with 314. I tried to apply the above Local stuff but I don't seem to get the syntax right.

     

    Text(Value(LookUp(Tabel2,Licentie = CB_Lic_EP_Dd.Selected.Result, verkoop);"[$-en-US]#,##", "en-US" ))

     

    I tried this syntax but it still gives the wrong output

     

    Text(Value(LookUp(Tabel2,Licentie = CB_Lic_EP_Dd.Selected.Result, verkoop), "[$-en-US]0,00" ))

     

    Please help

     

    Mike

     

     

     

     

    This is indeed a nasty bug.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @MikejteITQ 

    First, your formula is syntactically incorrect.  It should be:

      Text(Value(LookUp(Tabel2,Licentie = CB_Lic_EP_Dd.Selected.Result, verkoop));"[$-en-US]#,##", "en-US" )

     

    But, if verkoop is a numeric column, then this is all you should need:

      Text(LookUp(Tabel2,Licentie = CB_Lic_EP_Dd.Selected.Result, verkoop);"[$-en-US]#,##", "en-US" )

  • MikejteITQ Profile Picture
    5 on at

    @RandyHayes 

     

    THX..this works! I should dive a bit deeper into this syntax knowledge. 

     

    More than kind regards,

    Mike

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard