Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

How to Filter data and get record in DAX

I want to filter Worker table in DAX and get data like Select * from Worker w where w.Name <> "Once Off"
  • Anonymous's avatar
    Anonymous
    4 years ago
    Issue resolved.
    CALCULATE(
    SUM(InvoiceLines[Tons]),
    FILTER(InvoiceLines, InvoiceLines[ITEMID] = InventoryStock[ITEMID]),
    Filter(Worker, Worker[WORKERNAME] <> "Once Off")
    )