Jump to content

Get top 5 bars in stacked bar chart visual


Sanandh C k

Recommended Posts

If you rank by number of students, the top 5 bars would be all the bars, as there are only three ranks of teachers: those who have 7 students, those who have 5 and those who have 4.

You already have the [studentCount] column. So you could use it by defining a new ranking column

RankNew:DenseRank([studentCount],'desc')

Then limit your bar by expression:[RankNew]

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...