Forum Discussion

Torudd-55's avatar
Torudd-55
Frequent Visitor
6 years ago
Solved

DAX formula

Hi!   Can someone help me with an, hopefully, easy problem. I would like to write a DAX formula that selects all of the orders that contains the vendor "milk" whitout only showing the orderno and t...
  • v-diye-msft's avatar
    v-diye-msft
    6 years ago

    Hi Torudd-55 

     

    I just got you, could you please check if you'd like to get this one?

    HasMilk = CALCULATE(MAX(Table3[order.no]),FILTER(ALL(Table3),[vendor]="milk"),VALUES(Table3[order.no]))

    Then you can filter the measure without blank to get the final results.