Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Discrete Count Buckets Based on Averages

I am trying to categorize students based on score averages in Power BI but have run into lots of issues. I would like be able to categorize the averages into buckets depending on what filters are ap...
  • parry2k's avatar
    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.