Forum Discussion

jharada's avatar
jharada
New Member
2 years ago

Measure not totalling correctly when using if statement

I am working on a headcount report and trying to do the following:

 

Remaining Attrition = round(-([2023_EndHC]*0.015)-[Q4_Terms],0)

- 1.5% is what we think our attrition could be

- The Attrition Measure is using 2 other measures to calculate the data

- This measure shows up in the table matrix well and totals correctly

 

However, I want to say that if the Attrition is Positive, have it equal to 0 and if the Attrition is positive, the equal Attrition

 

Attrition Updated = IF([RemainingAttrition]>0,0,[RemainingAttrition])

 

This works for each line item however, it does not total up for me correctly 😞 I havent gotten it to work afte reading multilple posts.

2 Replies