Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Parsing issues with calculation

Hi,   Im new to powerbi and coming from tableau. I wanted to convert a calculation with which Im facing multiple parsing issues as i want a date to be returned and if date is not returned then it ...
  • v-frfei-msft's avatar
    v-frfei-msft
    7 years ago

    Hi Anonymous,

     

    Again, please check this one.

     

    Column 2 = 
    IF (
        IF (
            Table1[Current Location] = "sold"
                || Table1[Current Location] = "Factory",
            TRUE (),
            FALSE ()
        )
            = FALSE (),
        "NA",
        IF (
            Table1[Est delive dt] < DATE ( 2018, 09, 18 ),
            "Data Unavailable",
            ""
                & CALCULATE (
                    MIN ( Table1[Est delive dt] ),
                    ALLEXCEPT ( Table1, Table1[Current Location] )
                )
        )
    )
    

     

    Also please find the file attached.

     

    Regards,

    Frank