Forum Discussion
Return the highest value from another table for each row
- 8 years ago
Hi Anonymous,
If there is relationship between the three tables? Could you please create three fake sample table table for further analysis? So that we can post solution which is close to your requirement. Thanks for understanding.
Best Regards,
Angelia
Hi Angelia
Yes there is a relationship between the 3 tables via the ProjectId. These are the standard tables for Project Online available via the Project Reporting OData feed (I've just renamed a lot of the columns). Attached is a screenshot showing the relationship between the tables and sample of the risks/issues tables that shows the Priority value; which is a Whole Number (1-3). I was hoping to perform a type of merge that picks up the first Priority value for each Project Id; similar to how a VLOOKUP would work in Excel where it returns the first match it finds (if I sorted the Risks/Issues tables descending by Priority, it would pick up the highest one for each project).
Thanks
Olivia
- Ashish_Mathur8 years agoSuper User
Hi Anonymous,
Share the link from where i can download your file and also show the expected result.
- Anonymous8 years agoNot applicable
Hi
The file contains confidential information. Here are screenshots of sample data with a formula I would use in Excel to achieve this. Is it possible to achieve something like this in Power BI? The yellow column shows the result I'm after.
- Ashish_Mathur8 years agoSuper User
Hi,
Yes. This should be possible. Dummy your dataset and share the download link.