Forum Discussion
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:
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.
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
2 Replies
- amitchandak
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
- TMO_KY
Helper II
amitchandak I tried almost everything but that worked! Thank you!!