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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.