Forum Discussion
Get Latest Non Blank Value from Table
- 6 years ago
After using the formula you mentioned it is throwing an error:
"A single value for column 'Temperature' in table 'TableName' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result."
So I have used below formula:
= LASTNONBLANKVALUE('Table'[ReadingDateTime], SUM('Table'[Temperature]))
Try
https://docs.microsoft.com/en-us/dax/lastnonblankvalue-function-dax
lastnonblankvalue(Table[readingdatetime],Table[temprature])
After using the formula you mentioned it is throwing an error:
"A single value for column 'Temperature' in table 'TableName' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result."
So I have used below formula:
= LASTNONBLANKVALUE('Table'[ReadingDateTime], SUM('Table'[Temperature]))