Forum Discussion
Discrete Count Buckets Based on Averages
- 5 years ago
Anonymous solution attached, there are few other tables in the model, just ignore those. Look at the score and date table.
Also in sample data, I used the year 2021 instead of 2020 but the logic is the same.
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.⚡
Anonymous
You can try this measure instead
Scores Above 80 =
COUNTROWS(
FILTER(
VALUES( 'Data'[Student] ),
CALCULATE( AVERAGE( Data[Score] ) ) > 0.8
)
)- Anonymous5 years agoNot applicable
Thanks m3tr01d I think the challenge is that I need some kind of distinct count. I originally had something similar to your suggestion but it tends to over-count students. Appreciate the suggestion