Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Data bar highest value

Hi,

 

Is it possible to put in the highest value of a data bar based on a different column?

 

Genoa_0-1684924526711.png

 

8 REPLIES 8
v-jianboli-msft
Community Support
Community Support

Hi @Anonymous ,

 

Which visual are you using?

If the Data bar supports conditional formatting, you can try using conditional formatting.

If conditional formatting is not supported, you may not be able to achieve your idea by using the current visual.

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hello @Jianbo,

 

I am using the table and matrix table visuals.

 

Is it possible? I have a "Stock level" column, and a "Reorder level" column. I would like the stock level column use data bars, and the highest value is taken from the Reorder level column.

 

Thanks for the reply.

Hi @Anonymous ,

 

To my knowledge, your requirement could not be realized currently. An idea similar with what you expect has been submitted here, please vote it up and you can add comments. Hopes Power Bi will implement this in nearby future.

Besides, here is a workaround:

First add the Reorder level and rename it:

vjianbolimsft_0-1685077815337.png

Conditional format it to data bar:

vjianbolimsft_1-1685077855152.png

Output:

vjianbolimsft_2-1685077901432.png

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Anonymous
Not applicable

Sorry @v-jianboli-msft I'm a bit slow, can you please clarify that again, I got confused on what to do with the Reorder level column

Hi @Anonymous ,

 

Please try:

1. Add the Reorder level column into the Table Visual

vjianbolimsft_0-1685324756300.png

2. Choose the aggregation you need:

vjianbolimsft_1-1685324853700.png

3. Use  the [Space] bar(Make its name display blank) to rename it:

vjianbolimsft_2-1685325210639.png

Output:

vjianbolimsft_3-1685325227003.png

4. Conditional format it to data bar:

vjianbolimsft_4-1685325308006.png

5. Now you will have a column of data bar, you can move it to the place you need:

vjianbolimsft_6-1685325448522.png

Final output:

vjianbolimsft_7-1685325464653.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thanks @v-jianboli-msft for looking into this, this would have worked if there is only one "Reorder level" column, but I wanted to display the reorder level column as numbers as well, if I put two of the same column, Power BI will not allow me to rename one as space. Any more ideas?

Hi @Anonymous ,

 

The reason you can't rename it is because you are actually adding the same measure generated by the 'reorder level' field for the second time. Thus, you cannot add and rename it again.

You can create a new measrue to display the number of 'reorder level':

 

 

Reorder Level' = SUM('Table'[Reorder level])

 

 

Note: The new measure and column "reorder level" cannot have the same name

Output:

vjianbolimsft_0-1685932359526.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Any info?

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.