Forum Discussion

ssvr's avatar
ssvr
Helper III
7 years ago
Solved

Need Help on DAX

Hi All,   I want to migrate a project from Excel - Power BI.   I need to write a DAX based on Excel formul. Please help me out   Formula is in A9 Cell   =IF([@[Case No]]=A10,"",+IF(OR([@Statu...
  • v-frfei-msft's avatar
    7 years ago

    Hi ssvr,

     

    I made an sample for your reference. Here I created a calculated column using the formula.

     

    Column =
    IF (
        [Case No] = "A10",
        "",
        IF (
            [Status] = "Board Review"
                || [Status] = "Approved"
                || [Status] = "Rejected"
                || [Status] = "In Pilot",
            "" & Table1[Received Date],
            ""
        )
    )

     

    For more details, please check the pbix as attached.

     

    https://www.dropbox.com/s/5bpc08p47rswabx/Need%20Help%20on%20DAX.pbix?dl=0

     

    Regards,

    Frank

     

  • v-frfei-msft's avatar
    v-frfei-msft
    7 years ago

    Hi ssvr

     

    Try to update the formula to this one.

     

    Count of project = COUNTA(Table1[ProjectNumber])

    Regards,

    Frank