Forum Discussion
Filtering highest ID based on one unique number in direct query mode
- 5 years ago
Hi klajmexka ,
Please try to create a measure like this and apply it to visual level filter.
Measure 2 = var max_id = CALCULATE(MAX('Table'[ID]),ALLEXCEPT('Table','Table'[NMB])) return IF(MAX('Table'[ID])=max_id,1,0)Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
klajmexka you have to write another measure to get the note based on the highest Id.
Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
any formula suggestion please?