Forum Discussion
ddurosier
6 years agoFrequent Visitor
Working with Filters and Lastnonblank
Hi all, was hoping someone can quickly help because I've been trying to figure this out yesterday. I have some extra filters I want to add but just want a head start on how to get that going. Basical...
- 6 years ago
maybe
VAR __last = MAXX(FILTER('Table',NOT(ISBLANK('Table'[comment])),[date])
RETURN
MAXX(FILTER('Table',[date]=__last),[comment])
Anonymous
6 years agoNot applicable
Hi ddurosier ,
Please check the formula below.
Measure =
var maxdate = CALCULATE(MAX('Table'[date]),FILTER(ALL('Table'),'Table'[comment]<>BLANK()))
return
IF(SELECTEDVALUE('Table'[date])=maxdate,1,0)
Add this formula to visual filter and the result will be shown as below.
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.
- ddurosier6 years agoFrequent Visitor
For some reason this one I couldn't get it working.