Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Good day, I have a question about creating a lookup column in power bi.
Table A is my response table and Table B is my submissions table where the lookup value will be calculated please see below:
Table A Response | Table A Type | Table A B.ID |
Place 1 | Place | 1 |
Place 2 | Place | 2 |
Person 1 | Person | 1 |
Person 2 | Person | 2 |
Time 1 | Time | 1 |
Person 3 | Person | 3 |
Inorder to calculate Table B (Person **Lookup), I need to filter Table A Type for "Person" AND match Table A B.ID to Table B ID
Table B ID | Table B (Person **Lookup) |
1 | Person 1 |
2 | Person 2 |
Im fairly new to DAX so I am not quite sure do this.
Any help would be much appreciated! Thank you all in advance!
Cheers
Solved! Go to Solution.
@jmansour4567 , New column in table B
maxx(filter(TableA, TableA[B.ID] = TableB[ID] && TableA[Type] = "Person") , TableA[Response])
Change column name as per need
Brilliant! thank you!
@jmansour4567 , New column in table B
maxx(filter(TableA, TableA[B.ID] = TableB[ID] && TableA[Type] = "Person") , TableA[Response])
Change column name as per need
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
74 | |
63 | |
51 | |
47 |
User | Count |
---|---|
211 | |
85 | |
64 | |
59 | |
56 |