Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

AND function not working in POwer query

Hello Guys ! I am using this formula in Power query but it showing only else value 

 

if [Date Closed]="null" and [Critical Defect]0 then 1 else 0

  • if [Date Closed] is null and [Critical Defect] = 0 then 1 else 0

3 Replies

  • Perhaps the contents of the cell is actually null and not a string containing null.  Try removing the quote marks around null.

  • CNENFRNL's avatar
    CNENFRNL
    Community Champion
    if [Date Closed] is null and [Critical Defect] = 0 then 1 else 0
    • Anonymous's avatar
      Anonymous
      Not applicable

      Thankyou so much but why = was not working and please adivse the if formula for date Column.thanks