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 / Internet Explorer calc...
Power Apps
Answered

Internet Explorer calculates differently

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey Guys, 

I am using a Round function : 
Round( (ThisItem.Progress1 + ThisItem.Progress2 + ThisItem.Progress3 + ThisItem.Progress4) / ThisItem.NumberOfStand) *100 , 0) 

In the example the numbers are: (0.75 + 0.5 + 0.6 / 3 ) * 100

In the Interpet Explorer it calculates the following overall progress:

BildPRoblem_IE.PNG

 

But the Chrome Brwoser calculates it correctly with: 62% 

 

BildPRoblem%.PNG

 

Can I somehow tell PowerApps to seperate the function for different Browsers?

Categories:
I have the same question (0)
  • CarlosFigueira Profile Picture
    Microsoft Employee on at

    What are the types of the values 'Progress1', 'Progress2', 'Progress3' and 'Progress4'? If they are of type text, then PowerApps will try to convert them to numbers based on the rules of the current locale prior to adding them up. Chrome and IE have different ways of determining the current locale (Chrome is based on one of its settings, IE is based on the OS's language settings), which could explain the difference.

    If the values are indeed text, and you know that its decimal separator is the '.', you can indicate to the expression the locale that you want to use the conversion using the Value function:

    Round(
     (
     Value(ThisItem.Progress1, "en-US") +
     Value(ThisItem.Progress2, "en-US") + 
     Value(ThisItem.Progress3, "en-US") + 
     Value(ThisItem.Progress4, "en-US")) / ThisItem.NumberOfStand * 100,
     0)

    Hope this helps!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you @CarlosFigueira

    unfortunaltely its not the solution. If I change it to your code the progress in IE is : 0.

    The Progress1-4 are columns in a sharepoint list which are calculated with numbers from different columns and formatted to percentage in the sharepoint list.

  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    I've made a similar test in IE and not met the same problem like your description.

    Here's my test:

    set the label's Text:

    Round((0.75 + 0.5 + 0.6)/3*100,0)

    And the label display "62".

    So the caoculation and Rond function in IE has no problem.

    I think the problem is your column's Value.

    Could you make sure that :ThisItem.Progress1,ThisItem.Progress2,ThisItem.Progress3,ThisItem.Progress4 and ThisItem.NumberOfStand display as "0.75 ,0.5 , 0.6, 3" in IE?

    Since they are calculated fields and formatted to percentage, so it may has some problems in displaying.

    Please check this. If they do not display as "0.75 ,0.5 , 0.6, 3", I suggest you transfer them before calculating.

    I've found some has met the similar issue, he used this to transfer:

    Concatenate(Text(Round(Value(ThisItem.CompletionScore)*100,0),"[$-en-US]0"),"%")

    https://powerusers.microsoft.com/t5/Building-PowerApps-Formerly/Show-a-percentage-from-Sharepoint-list/td-p/96949

     

     

    Best regards,

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Your first answer was almost correct, I just needed to use the value funktion for the NumberOfStand as well.
    So this worked:

     

    ound(
     (
     Value(ThisItem.Progress1, "en-US") +
     Value(ThisItem.Progress2, "en-US") + 
     Value(ThisItem.Progress3, "en-US") + 
     Value(ThisItem.Progress4, "en-US")) / Value(ThisItem.NumberOfStand, "en-US") * 100,
     0)

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 514

#2
WarrenBelz Profile Picture

WarrenBelz 419 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 295

Last 30 days Overall leaderboard