Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

How to add text condition in Switch

dd   Hello - I need to add another condition to this statement, but not sure how.   I need to add: allopps-products[status]="open" as one of the conditions. But it won't let me.   What do I ...
  • Anonymous's avatar
    Anonymous
    6 years ago

    az38  I got it to work using this: 

     

    TRUE(),
        DATEDIFF(MAX('AllOpps-Products'[Est.Ship]),TODAY(),DAY) > -1 &&  DATEDIFF(MAX('AllOpps-Products'[Est.Ship]),TODAY(),DAY) > -20, "Passed already"