Forum Discussion
legendsfan
9 years agoFrequent Visitor
Finding the most recent value change
Requirement: Create a custom column that lists the most recent updated start date. Background: PSOW # is always required. PCR # is only used if there are ammendments to orginal PSOW #. PCR # alw...
- 9 years ago
I wasn't following your description, but purely by looking at your expected result I suspect you can acheive this easily in the query editor.
You can "Group By" PSOW# and add two aggregations: SUM of Cost and MAX of Start Date. See if that works. I'm not 100% sure about the MAX of Start Date but try it and let us know
dkay84_PowerBI
Microsoft Employee
9 years agoNot sure I follow you. Did you follow my steps? That will produce the result you showed
legendsfan
9 years agoFrequent Visitor
I edited my previous post as it looks like I left out a couple words :) I chose to use a Measure using LastNonBlank instead of Max but assume both will work. What I'd like to do within the code of the measure is ensure the data is sorted correctly so it always evaluates this highest PCR # first.