Power BI: get a value if 2 conditions are met

It is a formula I used because sometimes I need to calculate or to get a value if two criterias are met. This is the formula for 1 condition:

IF('table'[argument]="xxx","yes","no")

Now for 2 conditions:

IF('table'[argument]="xxx" && 'table'[argument]="yyy","yes","no")

Let’s do some example, with 1 condition:

power bi

Here I am asking to say “yes” if the priority is P4.

With 2 conditions:

power bi

Here I am asking to say “yes” if the priority is P3 and if the ticket has been created before 28/06.

Interesting Management