Power Pivot Measure - converting Negative % to Positive

Frank J

Board Regular
Joined
Feb 17, 2011
Messages
104
Office Version
  1. 365
Platform
  1. Windows
I'm trying to convert negative numbers in a measure so that all numbers are positive. DAX keeps telling me there's errors, I've tried many different tweaks to the formula below but nothing is working.

What am I doing wrong? Here's the formula I'm trying to use and below is a thumbnail of the measure.


IF(DIVIDE(SUM(Combined[Promos Issued]),(SUM(Combined[Player Win/Loss])))<0,)

DIVIDE(SUM(Combined[Promos Issued]),(SUM(Combined[Player Win/Loss])))*-1,

DIVIDE(SUM(Combined[Promos Issued]),(SUM(Combined[Player Win/Loss])))

Measure.png
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi,
I know nothing about DAX . Perhaps it has the equivalent of the XL ABS() function ?
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,225,409
Messages
6,184,828
Members
453,263
Latest member
LoganAlbright

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top