Forum Discussion

ihartdata's avatar
ihartdata
Microsoft Employee
7 years ago
Solved

Calculated Column with Nested IF Statement, Use Contains, Search, Find??

I am trying to create a calculated column for a new triage status. So Far I have the following DAX, which covers bullets 1, 2 & 3 but I'm having a difficult time with the 4th and 5th bullets.  I just...
  • Anonymous's avatar
    Anonymous
    7 years ago

    ihartdata 
    I think this may assist.
    First custom column

    Semester Planning =
    LOOKUPVALUE (
    'Release Lookup'[Semester Planning],
    'Release Lookup'[ReleaseTime], Features[ReleaseTime]
    )

    Second custom column

    ReviewStatus =
    IF (
        Features[FeatureStatus] <> "Rejected"
            && Features[FeatureStatus] <> "Rejected - Workaround Available"
            && Features[FeatureStatus] <> "Generally Available"
            && Features[FeatureStatus] <> "Public Preview"
            && Features[FeatureStatus] <> "Private Preview"
            && Features[Semester Planning] <> "No Plan",
        "Not Planned",
        "Planned"
    )

    Thanks
    A