Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
ldbello
Frequent Visitor

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"
1 ACCEPTED SOLUTION

Hi @ldbello ,

 

I have updated my test file. You could download and refer to it.

3-1.PNG

My sample data may be a little different with yours because I used whole number.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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 

Hi @ldbello ,

 

You could try the following measure:

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

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Thanks a lot,

 

It doesn´t work because I´m working without table, only meassures. Only want to keep out negative values, the calc must be 563.

 

Calc2.png

 

Regards,

Hi @ldbello ,

 

I have updated my test file. You could download and refer to it.

3-1.PNG

My sample data may be a little different with yours because I used whole number.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.