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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Solution Authors