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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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 MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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