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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
carlos_viz
New Member

Basic functionality: Reference Lines in Bar Chart per category

Dear community,

 

I'm unable to create a bar chart that is spilt by categories (i.e. countries) where actuals are represented in the bars, and the target is represented as a reference line in each bar / category. Power BI is ignoring the categories / bars and adding one reference line only for all categories. Basic stuff. 

 

Thanks for your help

Carlos

2 REPLIES 2
carlos_viz
New Member

Thanks for your answer. I typically use the columns when representing a time dimension, however, for other data attributes such a product category, region, etc. bar charts are for several reasons stronger in my point of view. 

It seems a little strange that same charts - just transponsed - have different functionalities available. 

 

Thanks again for taking the time. 

Br,
Carlos

rajendraongole1
Super User
Super User

Hi @carlos_viz - Using the Line and Clustered Column Chart is often the most straightforward approach as it naturally aligns with how Power BI handles different data series.you'll need to use the "Analytics" pane to add reference lines that are specific to each category.

select the Clustered Column Chart (for your actuals).Drag your "Actual" measure/column to the Values field.Drag the category (e.g., "Country") to the Axis field.

How To Add a Dashed Target Line in Column chart in Power BI (youtube.com)

This ONE IDEA opens ENDLESS POSSIBILITIES | Combining Reference Lines and Parameters in Power BI (yo...

 

Hope this helps.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors