Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

And OR not working in power Query

I have the below code and in this part AND and OR part is not working.KIndly help if [Control]="ENG0N" and ([SubControl]="ENG0N.A6" or [SubControl]="ENG0N.IPE") then [Month]&[Year]&[SubControl] e...
  • Anonymous's avatar
    Anonymous
    3 years ago

    I completely agree with this solution but somehow in some cases the combination of OR and <> is not working properly. In my case, for some blocks its working and for some its not though the logic is same. So, instead of OR and <> I have used nested if else again.

     

    Thanks,

    Shweta