Forum Discussion

BEAT_CRETAMAL's avatar
BEAT_CRETAMAL
Frequent Visitor
4 years ago

extract the difference from 2 tables

hello I have 2 tables which shows Order number and I want to know which orders are not from one table to another

Example:

 

 

Table 1                                                     

NordenEstado
5737987299Entregado
5737987300Entregado
5737987487Entregado
5737988764Entregado
5737980889Cancelado
5737989724Anulado
5737986432Entregado

 

Table 2

 

Norden 
5737987299Ingreso
5737987300creado
5737987443pendiente
5737988764Ingreso
5737993811Ingreso
5737989724creado
5737982667creado

 

 

there are equal Orders and another that are not in Table 1, how can I identify those that are not? in power bi

some easy mode, because my idea is to know if these orders are not in table 1 see in what state it changes later

Thanks

4 Replies

  • Hi BEAT_CRETAMAL ,

    According to your description, I create a sample, is this your expected outcome?

    Best Regards,
    Community Support Team _ kalyj

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Syndicate_Admin's avatar
      Syndicate_Admin
      Administrator

      hello when I run the DAX gives me the following

      BEAT_CRETAMAL_3-1637677976947.png

      Unified Orders'[Nro_de_Negocio] this table has more orders would be the complete
      has a date column as well as create a calendar for its relationship in objects
      BEAT_CRETAMAL_2-1637677928187.png

      INF01_Ordenes_v2_2 [Norden] in this table are not all the orders of the unified table and those that are not I want to return them to make their analysis
      BEAT_CRETAMAL_1-1637677900070.png
      when I want to evaluate differences in Objects only the rest with a dax measure but I would like to know what differences there are between the 2 and those that are not in INF01_Ordenes_v2_2 bring them to me
      your help is greatly appreciated I have tried several ways
      Thank you