cancel
Showing results for 
Search instead for 
Did you mean: 
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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.