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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
TMO_KY
Helper II
Helper II

Trouble with Dynamic Reference Line from Average Total (measure)

I'm trying to create a dynamic reference line based off a measure I created (AVG OT).  When I add the measure to a card, I get what I am looking for and it changes when I use my filters.  That part is working good.  Now the issue I have is when I add that AVG measure to a bar chart by employee names, it takes the employees avg and creates a line that coincides with each employee.  I want it to stay as the total value instead of each individual's value.  Here are some pictures:

 

Current:

TMO_KY_1-1593442258825.png

 

Is there a way to get the Reference line to only show the Total, in this example = 11.29?  Instead of changing the values based on employee?  Thanks in advance.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@TMO_KY , create a measure like this

 

Avg OT = calculate([Avg OT per period], all(Table))

And use. 

 

Or use analytics pane

https://docs.microsoft.com/en-us/power-bi/desktop-analytics-pane

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@TMO_KY , create a measure like this

 

Avg OT = calculate([Avg OT per period], all(Table))

And use. 

 

Or use analytics pane

https://docs.microsoft.com/en-us/power-bi/desktop-analytics-pane

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak I tried almost everything but that worked!  Thank you!!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.