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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
l_ke
Frequent Visitor

Line chart does not show all legend values

Hi, I created a line chart with 15 legend values, it shows only 12 legend values when expand all levels of hirarchy. I tested it with a bar chart instead and it works well. Anyone also face this issue? Do I need further actions on settings? Any helps are appreciated.

 

(Edit: Line chart can show only 2000-2011 while bar chart can show 2000-2015)

 

(Edit 2: Found it happens when x-axis is continuous, if categorical it works fine)

 

(here please find the data)

 

Line ChartLine ChartBar ChartBar Chart

1 ACCEPTED SOLUTION
l_ke
Frequent Visitor

This problem is solved by selecting "show items with no data" in legend card.

(However another problem occurs - the tooltip does not show all legend values..)

View solution in original post

3 REPLIES 3
l_ke
Frequent Visitor

This problem is solved by selecting "show items with no data" in legend card.

(However another problem occurs - the tooltip does not show all legend values..)

RJ251997
Helper I
Helper I

Hi @l_ke ,

You can follow this steps.

         Go to the Format pane.

Select Detail labels function.

Go to Label position.

Change from Outside to Inside.

Switch on the Overflow Text function.

 

Thank & Regards

ROHIT JAISWAL

l_ke
Frequent Visitor

Hi, I'm sorry I don't get it. I can't find Detail labels function. I can find Data label though but can't find Overflow Text function. My Power BI desktop version is Apr 2021. 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors