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
Hi,
I want to create a new column which only shows the 'Order #' value for the latest 'Order Date'.
For example, for opportunity 977A, I want the new column to show the value 'T000210443' since that has the latest date for 977A. I would prefer the cells with older dates associated to them to remain blank.
Data Sample
Thank you in advance!
Solved! Go to Solution.
Hello,
I tried to solve this problem by creating a new column for MAX-ORDER.
Below is the approach, I took:
1> In query editor, create a reference table of that of your original table. In my case, I created SAMPLE-COPY as reference of SAMPLE.
2> Then, apply Group by function as shown in screenshot.
3> In relationship view, join these two tables based on either ORDER number or DATE field:
4> Then in the main table (in my case: SAMPLE), then add new column called "MAX-ORDER" by using RELATED function:
You can then hide original ORDER column and just keep using MAX-ORDER column.
Hello,
I tried to solve this problem by creating a new column for MAX-ORDER.
Below is the approach, I took:
1> In query editor, create a reference table of that of your original table. In my case, I created SAMPLE-COPY as reference of SAMPLE.
2> Then, apply Group by function as shown in screenshot.
3> In relationship view, join these two tables based on either ORDER number or DATE field:
4> Then in the main table (in my case: SAMPLE), then add new column called "MAX-ORDER" by using RELATED function:
You can then hide original ORDER column and just keep using MAX-ORDER column.
Thank you so much! I have learned something new today! 😀
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 20 | |
| 18 |