Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

IF AND STATEMENT Measure Power Query

I have two columns: 1. predicted precipitation (Table1[Prediction]) and 2. actual precipitation (Table2[Real]) and I want to test 4 conditions: a. predicted precipitation/observed precipitation b. ...
  • serpiva64's avatar
    serpiva64
    3 years ago

    Hi,

    i hope this time it's good (i printed your solution to verify)

    P = IF('Table'[Column1]=0,1,If(and('Table'[Column1]>=0,'Table'[Column2]>0),0,1))