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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
smather
Helper III
Helper III

Target Line Not Showing in Stacked Bar Chart

Hi there

 

I'm trying to add a target line to a graph, but it just will not show up - in a matrix, I get the figure, but nothing in the bar chart. See screenshots below: 

 

BI1.PNG

 

 

Sales Person comes from "userforms", Total Sales and Total Call from "Table D" and Targets from "Targets" table. 

 

BI2.png

 

Sales Person again comes from "userforms", Total Sales & Call from "Table D" and Targets from "Targets". 

 

BI3.png

 

They all have a relationship:

 

Targets > userforms via Sales Person via Sales Person to fullname

Targets > DimDate via Month to Month

userforms > D via fullname to owning.user

D > DimDate via Date to Date

 

So what is it that I'm doing wrong? any help would be fab! 🙂 

2 REPLIES 2
lbendlin
Super User
Super User

The target line is the least of your problems (you can always create it via a measure and then use a column+line chart visual).

Please rethink your data model.  You do not want to have a M:M relationship with bidirectional search.

Hey @lbendlin - how would you suggest I do it via a measure? Could you let me know why I ought to rethink my data model (I mean that genuinely, I don't fully understand the realationships yet)?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors