Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have two tables
| OrderID | Date |
| 1 | 13-okt |
| 2 | 14-okt |
| OrderID | OrderLine | Product | Price |
| 1 | 1 | A | 5 |
| 1 | 2 | B | 4 |
| 2 | 1 | A | 5 |
| 2 | 2 | B | 4 |
| 2 | 3 | C | 2 |
I want to add a column in Table 1 with the name of the product with the highest price. So the table looks like this:
| OrderID | Date | Product |
| 1 | 13-okt | A |
| 2 | 14-okt | A |
Which formula should I use?
Solved! Go to Solution.
@Anonymous ,
Use something like this with relatioship.
Proud to be a Super User!
@Anonymous ,
Use something like this with relatioship.
Proud to be a Super User!
@Anonymous , You can not create a column that uses slicer value. Think how can you use measure in place of that
Please provide your feedback comments and advice for new videos
Tutorial Series Dax Vs SQL Direct Query PBI Tips
Appreciate your Kudos.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 65 | |
| 43 | |
| 40 | |
| 29 | |
| 19 |
| User | Count |
|---|---|
| 200 | |
| 126 | |
| 103 | |
| 70 | |
| 54 |