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] ) ) )
Zubair_Muhammad
Community Champion
8 years ago
One of the ways of doing it is to create a Calculated Table
Go to Modelling Tab >>> NEW TABLE
New Table =
SUMMARIZE (
TableName,
TableName[Name],
"Date", MAX ( TableName[Date] ),
"Value 1", CALCULATE (
SUM ( TableName[Value 1] ),
FILTER ( TableName, TableName[Date] = MAX ( TableName[Date] ) )
),
"Value 2", CALCULATE (
SUM ( TableName[Value 2] ),
FILTER ( TableName, TableName[Date] = MAX ( TableName[Date] ) )
),
"Value 3", CALCULATE (
SUM ( TableName[Value 3] ),
FILTER ( TableName, TableName[Date] = MAX ( TableName[Date] ) )
)
)BiBra
Helper III
8 years agoAny easier way? I have 53 "values"
- Zubair_Muhammad8 years ago
Community Champion
- Zubair_Muhammad8 years ago
Community Champion
NOw you can use this MEASURE
Value at Recent Date = CALCULATE ( SUM ( TableName[Value] ), FILTER ( TableName, TableName[Date] = MAX ( TableName[Date] ) ) )- Zubair_Muhammad8 years ago
Community Champion
Use can then use a MATRIX VISUAL
Put
1) Name is Rows
2)Attribute in Columns
3) Value at Recent Date in Values