Forum Discussion

MeganLouise93's avatar
MeganLouise93
Regular Visitor
1 year ago
Solved

Need help with Dax IF Calculation

Hi there,   I'm pretty new to Dax, and am trying to get an If statement to work - I have 3 outcomes, and the data in the original field is numbers and blanks.   This is how far I've gotten but I'...
  • johnt75's avatar
    1 year ago

    Try

    Open Vs Effective Date Buckets =
    IF (
        ISBLANK ( 'All ServiceNow Data'[Open Vs Effective Date] ),
        "Invalid Effective Date",
        IF (
            'All ServiceNow Data'[Open Vs Effective Date] < 0,
            "Opened Before Effective Date",
            "Opened on/after Effective Date"
        )
    )