Forum Discussion
ldwf
4 years agoHelper V
Create a Measure on Text Field
Hello, I have a star schema PBI model. I have a dimension table with comment field,. I have a date slicer where the user can select multiple dates from a date dimension table. I want to use the ma...
tamerj1
4 years agoCommunity Champion
Please use
LatestCommentMeasure =
CALCULATE (
MAX ( 'Dim_Comments'[Comments] ),
'Dim_Comments'[Date] = MAX ( 'Dim_Date'[Date] )
)- ldwf4 years agoHelper V
I have tried this before as well, but it always returns the maximum comment, not the comment corresponding to the maximum date selected in the slicer.