Forum Discussion

Pavithra_sarava's avatar
Pavithra_sarava
Regular Visitor
3 years ago
Solved

Need to find order without product without using calculated columns/tables

Hello All, I've 2 table in my report.   Order table: Order ID,Order name, value, Products,etc Order detail table: Order ID,Product name, Specification, etc   There's a relationship between Orde...
  • lukiz84's avatar
    lukiz84
    3 years ago

    How is an order created if there are no products? 

     

    Try 

    OrdersWithoutProducts =
       CALCULATE(
          COUNT(Orders[Order ID]),
          NOT(Orders[Order ID] IN VALUES('Order detail'[Order ID]))
       )