Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have 2 tables and want to compare two columns (one from each) in query editor or dax. I just need a yes they (the text values) match or no (text values) don't match in a new column. Secondly I need a count of all the orders that do not match to table 2.
Table 1 (Primary Table)
Order No | Order Status |
1234 | Resolved |
1235 | Pending |
1236 | Open |
1237 | Resolved |
1238 | Resolved |
1239 | Pending |
Table 2
Order No | Order Status |
1234 | Open |
1235 | Resolved |
1236 | Pending |
1237 | Resolved |
1238 | Resolved |
1239 | Open |
I want a new column to be created (in either table) that shows when the Order status values in rows from each table match, as below:-
Order No | Order Status | Column 3 |
1234 | Resolved | No Match |
1235 | Pending | No Match |
1236 | Open | Match |
1237 | Resolved | Match |
1238 | Resolved | Match |
1239 | Pending | No Match |
Do i need to do this as a merge query or dax ?
Thanks
Solved! Go to Solution.
Hi @Anonymous
here you go
Attached the file
https://drive.google.com/file/d/1hMWpl1vwwXlj8yDKT8vmXLUF7S207jUU/view?usp=sharing
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Hey add this to the measure if you don<t want to count the Blank rows
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
What do you mean by like this????
Please open a new thread and send me examples where I can look into your issue. Every model is unique and different.
Thanks
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
98 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |