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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Genoa
Regular Visitor

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 @Genoa ,

 

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.

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 @Genoa ,

 

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.

 

 

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 @Genoa ,

 

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.

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 @Genoa ,

 

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.

Genoa
Regular Visitor

Any info?

Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors