Forum Discussion
BiBra
Helper III
8 years agolatest Values
Hello, I am trying to find out how to get the latest values. Dummy data: Name Date Value 1 value2 value 3 sd 12/10-2017 ...
- 8 years ago
NOw you can use this MEASURE
Value at Recent Date = CALCULATE ( SUM ( TableName[Value] ), FILTER ( TableName, TableName[Date] = MAX ( TableName[Date] ) ) )
PaulDBrown
Community Champion
8 years agoBiBraSorry, I'm not sure if you are referring to my suggestion. If so, can you explain further what the problem is? the function CLOSINGBALANCEMONTH or YEAR returns the last (date) value in a column. In other words, the field "value" must be in the same column in a table.
BiBra
Helper III
8 years agoPaulDBrown I am not referring to your solution. I am referring to Zubair_Muhammad. When using his method. it works when the unpivoted column only contains 1 and 0, not when values higher.
- PaulDBrown8 years ago
Community Champion
BiBraOK, sorry...