Forum Discussion

ldbello's avatar
ldbello
Frequent Visitor
6 years ago
Solved

Meassure Calculation

Dear all,

 

I am not able to obtain the right result. Could you help me please?

 

IssuesReportingCalcReal Estimated 
35,35143107,65107,65 
106,0543-63,050Negative must be "0"
187,675-112,60Negative must be "0"
71,05394322,95322,95 
122,8516340,1540,15 
160,3156-4,30Negative must be "0"
105,719892,392,3 
  383,1563,05 
     
MeasureCalc = IF([Issues]-[Reporting]<0;0;[Issues]-[Reporting])
Obteined wrong results "383,10"  
     
or this Calc    
(Issues-Reporting)*70%/2, If the result obtained is negative show "0"

5 Replies

  • Please share the formula for the issue and reporting.  Measure calculation depends(may) on the level where it happens so need to check that.

    • ldbello's avatar
      ldbello
      Frequent Visitor

      Thanks a lot,

       

      I do not have any issue, just only want the calc without negavite values using one or two ways as commented:

       

      The calc/form is: MeasureCalc = IF([Issues]-[Reporting]<0;0;[Issues]-[Reporting])

       

             Expecting without negative values
      (-63,-113,-4)
      Obtained
      Issues3510618871123160106789
      Reporting14343753941631561981172
      Sum108-63-11332340-492383
      Sum1080032340092 
             563 
      • v-eachen-msft's avatar
        v-eachen-msft
        Community Support

        Hi ldbello ,

         

        You could try the following measure:

        Measure =
        SUMX ( 'Table'; IF ( [Issues] - [Reporting] < 0; 0; [Issues] - [Reporting] ) )