Forum Discussion

hemasnaidu's avatar
hemasnaidu
New Member
2 years ago
Solved

Compare 2 tables and return results

Hi, I have 2 tables:  Table 2 able to link to Table 1 using 'Table1ID'. I want to have 2 results... UnMatch and Match as below    Adding logics: The match are only for State='DOWN'. For other th...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi hemasnaidu 

     

    You can use Merge queries feature. For match results, select Inner Join kind. For unmatched results, select Left Anti kind. Then select rows with State 'DOWN'. Use Merge Queries as New to have match and unmatch results in new queries separately. You can see an example in the attached pbix file.  

     

    Best Regards,
    Jing
    If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!