Forum Discussion

Sophie_MGG's avatar
Sophie_MGG
Frequent Visitor
4 years ago
Solved

Filter on measure in direct query does not work

Hi all,   I am trying to create a measure that contains a filter on another measure. I'm working in direct query mode (unfortunately the data comes in via API so I cannot work via Import mode), so...
  • Sophie_MGG's avatar
    Sophie_MGG
    4 years ago

    Hi Fowmy 

     

    I found a solution. This measure works:


    CALCULATE (
    DISTINCTCOUNT('Order'[order_number]), FILTER('Order',[DLT pick up status]="Order zelfde dag gepickt")
    )
     
    (I did not use the filter function before)
     
    Many thanks for your help!