Forum Discussion

pardeepd84's avatar
pardeepd84
Helper III
5 years ago
Solved

exclude null/blanks when subtracting

Hello,   I have grouped some data together which includes the following:   Company name Client ID Double up Double up min time Double Up max time     I am now trying to subtract the ...
  • jdbuchanan71's avatar
    5 years ago

    What if we try it like this?

    Column 1 =
    ABS (
        IF (
            'Doubleup test (2)'[Double up Max Time] = ""
                || 'Doubleup test (2)'[Double up MIN Time] = "",
            BLANK (),
            'Doubleup test (2)'[Max] - 'Doubleup test (2)'[Min]
        )
    )