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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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