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 / Problema con Decimales
Power Apps
Answered

Problema con Decimales

(0) ShareShare
ReportReport
Posted on by 34

Equipo, tengo el siguiente problema.
Realizo la suma de 2 datos ya a partir de ciertos decimales me arroja números, esto hace que el resto de los cálculos sean erróneos.
les dejo las fotos debajo.

 

Ingreso los siguientes valores.

SilvioDruetta_1-1693413433008.png

La fórmula que aplica es la siguiente: Text(Sum('DataCard Rep 1';'DataCard Rep 2');"#.0000000000000000000000000000000")

tambien probe usando value en diferentes partes de la formula pero el resultado sigue siendo el mismo.

SilvioDruetta_2-1693413467378.png

me podría ayudar a resolver el problema.

Categories:
  • TheRobRush Profile Picture
    11,128 Moderator on at

    PowerApps is built on Java and uses the rules that apply to Integers there as its rules as well.

    You are therefore limited, in powerapps, to 10 digits after the decimal point. In the below images you will see this demonstrated, If I place the 9 in the 10th spot is accurate, but moving it into spot 11 the number returned is no longer correct. 

     

    10th spot

    TheRobRush_0-1693416076605.png

     

    11th spot

    TheRobRush_1-1693416112161.png

     

    the solution is to change your formula to 

    Text(Sum('DataCard Rep 1';'DataCard Rep 2');"#.0000000000")



    @timl do you have any other suggestions?

  • SilvioDruetta Profile Picture
    34 on at

    El problema es el siguiente:
    Necesito sacar el Desvio Estandar, pero al tener este error en los decimales dicho desvío es erroneo, como se podra ver con el ejemplo en Excel.

     

    Calaculo en Power Apss

    SilvioDruetta_0-1693419306216.png

     

    Calaculo en Hoja de Execl

    SilvioDruetta_1-1693419374194.png

     

  • TheRobRush Profile Picture
    11,128 Moderator on at

    what formula are you using here 

    TheRobRush_2-1693420564744.png

     

  • SilvioDruetta Profile Picture
    34 on at

    Espero poder explicarles.
    el calculo de desvio Estandar lo realizo de manera manual, ya que no encontre una función en power apps que me realice el calculo.

    De esta manera, lo primero que hago es calcular la varianza en base a las repeticiones cargadas y despues realizo el calculo del desvio estandar.

     

    Calaculo de varianza:

    Text(Value(DataCardValue218.Text)/(8*(8-1));"0.000")

     

    Calaculo de Desvio esta en base a la varianza:

    Text(Sqrt(Value(DataCardValue219.Text));"0.0000")

  • TheRobRush Profile Picture
    11,128 Moderator on at

    TheRobRush_0-1693421542410.png

    With({sampleMean: Average(
     Value(TextInput1.Text),
     Value(TextInput2.Text),
     Value(TextInput3.Text),
     Value(TextInput4.Text),
     Value(TextInput5.Text),
     Value(TextInput6.Text),
     Value(TextInput7.Text),
     Value(TextInput8.Text))},
     Sqrt( 
     Sum(
     Power(Value(TextInput1.Text)-sampleMean,2),
     Power(Value(TextInput2.Text)-sampleMean,2),
     Power(Value(TextInput3.Text)-sampleMean,2),
     Power(Value(TextInput4.Text)-sampleMean,2),
     Power(Value(TextInput5.Text)-sampleMean,2),
     Power(Value(TextInput6.Text)-sampleMean,2),
     Power(Value(TextInput7.Text)-sampleMean,2),
     Power(Value(TextInput8.Text)-sampleMean,2))/7)
    
    )
  • Verified answer
    TheRobRush Profile Picture
    11,128 Moderator on at

    The above is for standard deviation using the sample method, for population method it would be simply 

    StdevP([TextInput1.Text, TextInput2.Text, TextInput3.Text, TextInput4.Text, TextInput5.Text, TextInput6.Text, TextInput7.Text, TextInput8.Text],Value)
  • SilvioDruetta Profile Picture
    34 on at

    Muchas gracias por tu tiempo.

     

    Las 2 formulas funcoinan muy bien.

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 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard