Forum Discussion
vjnvinod
Impactful Individual
6 years agochange number to abs value using a filter condition
Hi, Can you help me with a measure, basically i need to convert any negative numbers in my coloumn(ActualChrdHours) to positive number if my coloumn(ReverseVsMercurry) is "Not a reverse". ca...
Tahreem24
Super User
6 years agoHi vjnvinod ,
You can use the below Measure for your new requirement.
Measure 2 = if(sum('Table'[ActualChrdHour])<0,(ABS(CALCULATE(SUM('Table'[ActualChrdHour]),'Table'[ReverseVsMercurry]="Not a reverse"))),sum('Table'[ActualChrdHour]))
I expect Kudos to my previous answer 😊 and this answer as well. And Please Accept this as a solution.