Forum Discussion
Casteless
Helper I
9 years agoTrying to calculate most recent classification
Suppose there are three columns: CLIENT | Classification | Date 1 | A | 1/1/2016 1 | A | 1/1/2016 1 | B | 2/...
Sean
Community Champion
9 years ago
How about this?
Classification on Last Date =
IF (
HASONEVALUE ( 'Table'[Client] ),
CALCULATE (
LASTNONBLANK ( 'Table'[Classification], 1 ),
LASTDATE ( 'Table'[Date] )
),
BLANK ()
)
Good Luck! :smileyhappy:
Casteless
Helper I
9 years agoSean,
That works perfectly!
I tried to use LastnonBlank in my original attempts but was lacking an expression.
I was unaware you could put "1" for an expression, what does that mean?
VVlarde thanks for your help as well!
- Sean9 years ago
Community Champion
"placing 1 as the second parameter has the same effect as just ignoring this parameter"
You can read more about it here...
http://exceleratorbi.com.au/lastnonblank-explained/