Forum Discussion
Anonymous
6 years agoNot applicable
Getting the latest record in the same table based on entry no.
Hi, I am struggling in getting the latest row and I researched several topics but no luck of getting the correct formula. I would like to check how to the last row value of the table below. I h...
- Anonymous6 years ago
Hi Anonymous ,
Create a mesure like below and add it to visual filter.
Measure = var maxdate = CALCULATE(MAX('Table'[date]),FILTER(ALLSELECTED('Table'),'Table'[NO.]=MAX('Table'[NO.]))) return IF(SELECTEDVALUE('Table'[date])=maxdate,1,0)Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous6 years ago
Thank you. I was able to figure out this.
Richelle
Anonymous
6 years agoNot applicable
Hi Anonymous ,
Create a mesure like below and add it to visual filter.
Measure =
var maxdate = CALCULATE(MAX('Table'[date]),FILTER(ALLSELECTED('Table'),'Table'[NO.]=MAX('Table'[NO.])))
return
IF(SELECTEDVALUE('Table'[date])=maxdate,1,0)
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous6 years agoNot applicable
Thank you. I was able to figure out this.
Richelle