March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello everyone,
I need your help on the following query:
I have table A:
Number |
1 |
2 |
3 |
4 |
5 |
and table B
1 |
2 |
and C:
4 |
5 |
I would like to have a new column in Table A like this
Number | Found on B&C |
1 | True |
2 | True |
3 | False |
4 | True |
5 | True |
I am trying to use Contain, but it only works with 02 Columns, maybe I should have another approach.
Appreciate your help on this.
Thanks,
Solved! Go to Solution.
Hello! I have entered the following for A:
The following for B:
The following for C:
If you want to show whether a value from A is found in B OR in C, use below:
Proud to be a Super User! | |
Thank you for your suggest solution, but does that also work if Column B doesn't have the same row as Column C?
You're welcome. Yes, one of the DAX I provided will let you know if the same value is in b or c and the other is only if it's b and c.
Proud to be a Super User! | |
Hello! I have entered the following for A:
The following for B:
The following for C:
If you want to show whether a value from A is found in B OR in C, use below:
Proud to be a Super User! | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
93 | |
92 | |
86 | |
77 | |
49 |
User | Count |
---|---|
166 | |
149 | |
99 | |
73 | |
57 |