Felix Darke
Felix Darke

Reputation: 45

Only displaying "tallest" bars in bar chart

I am trying to create a clustered bar chart in PowerBI Desktop, where only the N "tallest" bars are displayed.

My dataset consists of a small number of rows but a large number of columns.

I have tried the following:

However, nothing happens. The chart currently looks like this (without applying the transformation of the absolute value): Clustered bar chart

I basically want the same chart, but only display the N tallest bars.

Upvotes: 1

Views: 291

Answers (1)

Joao Leal
Joao Leal

Reputation: 5542

You might have to pivot your table, so you have a "column name" field and a "value" field.

Then you need to use the TOP N on the Legend field, like this: enter image description here

Filters:

enter image description here

Result:

enter image description here

Upvotes: 0

Related Questions