Forum Discussion
Help with Filters Please
- Anonymous6 years ago
Hi Bobbo ,
Create a measure like below and add it to visual filter.
Measure = var most_recent = CALCULATE(MAX('Table'[Policy Date]),ALLEXCEPT('Table','Table'[Client])) return IF(SELECTEDVALUE('Table'[Policy Date])=most_recent,1,BLANK())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.
Bobbo what is your expected output? And when you say filter, what you mean ?
Thank you for following up. I would like to eliminate that transaction that did not take place on the most recent date. I do not need to total the columns, just be left with one row for each Client that indicates the most recent Sale.
- parry2k6 years agoSuper User
Bobbo see attached, look at a table called DD (ignore other tables in the file) and the measure, you can take it from there and change as per your requirements.
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!