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,
Lookin as the following table:
TableA:
id | value | key |
1 | a | 1 |
1 | b | 2 |
1 | c | 3 |
2 | a | 4 |
2 | d | 5 |
2 | f | 6 |
how can I write a formula for a column in another table (related to Table A (by id)), containing TableA[value] selected as MAX(TableA[key]) for each TableA[id] group?
Another words, for rows related to TableA[id]=1 it should contain 'c' and for related to TableA[id]=2 it should containg 'f'.
Best,
Ryszard.
Solved! Go to Solution.
Looking for examples of MAXX+RELATEDTABLE I found the solution, didn't know LOOKUPVALUE accepts more than one key/value pairs:
@rylach - Use MAXX along with RELATEDTABLE.
Looking for examples of MAXX+RELATEDTABLE I found the solution, didn't know LOOKUPVALUE accepts more than one key/value pairs:
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 |
---|---|
109 | |
96 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
88 | |
63 |