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

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

Reply
nleuck_101
Responsive Resident
Responsive Resident

Moving data labels to max value when you have multiple lines

Hello All,

 

I could use some help with trying to move the data labels to above the max value on the chart. I've tried multiple different ways watching How to PowerBI YouTube channel videos but I can't get anything to work. The two lines are one measure that has a legend to show previous year vs current year. Ideally, I would like a constant line that is slightly above the max value (whether or not it's previous year or current year) where I can show the % change. Any ideas on how I can accomplish this would be greatly appreciated. Thanks!

nleuck_101_1-1759943553300.png

 

1 ACCEPTED SOLUTION
nleuck_101
Responsive Resident
Responsive Resident

I ended up finding a solution that worked. I change the measure to display the data but I ended creating a PY and CY measure. Then added a third line that calculates the max and multiplies it by 1.4 to add some need space.

nleuck_101_0-1759953903396.png

 

View solution in original post

3 REPLIES 3
nleuck_101
Responsive Resident
Responsive Resident

I ended up finding a solution that worked. I change the measure to display the data but I ended creating a PY and CY measure. Then added a third line that calculates the max and multiplies it by 1.4 to add some need space.

nleuck_101_0-1759953903396.png

 

d_m_LNK
Resolver III
Resolver III

To create more space on the graph you could specify the min max values on the Y-Axis portion of your graph.  This way you can control how much space above your max value you will have.

d_m_LNK_1-1759946328197.png

 

In the format menu there is also a reference line you can take advantage of on the line chart visual to help you get the constant you are looking for:

d_m_LNK_0-1759946292898.png

 

A reference line would only show me a constant line with one value. I need to show the value above each month.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.