Forum Discussion

Thorstedt's avatar
Thorstedt
Regular Visitor
7 years ago
Solved

Is it possible to have an If function in another If function

Hi  I'm interested in moving this DAX formular into Power Query:  S1 = IF(IF('STATUS 1'[t2s1q4] >2;1;0)+If('STATUS 1'[t2s1q5] >2;1;0)+If('STATUS 1'[t2s1q11] >2;1;0)+If('STATUS 1'[t2s1q12] >2;...
  • 101Mathew's avatar
    101Mathew
    7 years ago

    Please note, you can also use "and" "or".  An example of a simple one:-

     

    If 

      ( 

        [Column1] = "A"

      and

       [Column2] = "B"

     )

    then "Confirmed A & B"

     

    else if

      "not A&B"

    else

      "something else"