Jun 09 2021 02:34 AM
Bonjour,
Dans l'exemple ci-dessous le résultat de l'addition de toutes les lignes = 0
Aucune des valeurs à sommer ne contient nativement plus de deux chiffres après la virgule pourtant la fonction SOMME renvoie un résultat au format Scientifique. Pourquoi ?
Cela est problématique car C9 affiche zéro mais la valeur stockée par Excel est différente de zéro
C9=0 est FAUX alors que c'est vrai...
Merci pour votre aide !
Jun 09 2021 02:50 AM
That's floating point calculation error. To avoid it use ROUND() in sum calculation.
Jun 09 2021 03:15 AM
Jun 09 2021 03:55 AM
I'm not sure what the TCD is, but if you use SUM() you may use ROUND(SUM(),4) or so. Or how do you compare the numbers?
Jun 09 2021 05:44 AM
Jun 09 2021 06:10 AM
SolutionIf you can do nothing with source data, as variant you may add data to data model creating PivotTable
create DAX measures like
=ROUND ( SUM(Range[Field]), 4 )
and use them to show aggregated data.
Jun 09 2021 09:10 AM
Jun 09 2021 06:10 AM
SolutionIf you can do nothing with source data, as variant you may add data to data model creating PivotTable
create DAX measures like
=ROUND ( SUM(Range[Field]), 4 )
and use them to show aggregated data.