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.
Hi,
I have to compare two different tables and create a column. Following is the sample input and output.
Input
Table 1
Product |
A |
B |
A |
E |
S |
A |
Table 2
List |
A |
B |
C |
D |
Output
Product | Status |
A | Available |
B | Available |
A | Available |
E | NA |
S | NA |
A | Available |
Could anyone please guide me how to achieve this.
Any help is greatly appreciated!
Thanks,
Stanley
Solved! Go to Solution.
Perhaps a measure in Table 1 like:
Status = IF(COUNTROWS(RELATEDTABLE(List))>0,"Available","NA")
Perhaps a measure in Table 1 like:
Status = IF(COUNTROWS(RELATEDTABLE(List))>0,"Available","NA")
Thank you very much for the inputs. It worked.
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 |
---|---|
113 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |