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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
maziiw
Advocate I
Advocate I

Line graph not displaying the right data

I have a line graph which shows countries and summarises sales by country by month.

 

Axis X is a week number, and axis Y is sum(sales) grouped by country.

 

Unfortunately, the line graph shows me only alphabetically top 15 countries, and I dont seem to have an option to see only top 10 of the countries. How can I change that?

1 ACCEPTED SOLUTION

Hi @maziiw ,

This is due the limits imposed by the visualization. More information around this can be found in Microsoft's official documentation here: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-high-density-sampling#how-the-new-...

I also wanted to link a similar scenario another user ran into for reference: https://community.fabric.microsoft.com/t5/Desktop/Line-Chart-Limitation-Max-of-15-lines-represented-...

If this helped, please mark it as the solution so others can benefit too. And if you found it useful, kudos are always appreciated.

Thanks,

Samson

View solution in original post

3 REPLIES 3
maziiw
Advocate I
Advocate I

Thanks @SamsonTruong , just got to that here as well. Do you know why I can only see top - N (usually 20) cuntries though? I have several million rows so my suspicion is that they do not all make it to preview, but that really does not make sense. Is there a way to show all 216 countries? This will make my graph huge, 15 months on X axis and 216 countries on Y axis.

 

Hi @maziiw ,

This is due the limits imposed by the visualization. More information around this can be found in Microsoft's official documentation here: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-high-density-sampling#how-the-new-...

I also wanted to link a similar scenario another user ran into for reference: https://community.fabric.microsoft.com/t5/Desktop/Line-Chart-Limitation-Max-of-15-lines-represented-...

If this helped, please mark it as the solution so others can benefit too. And if you found it useful, kudos are always appreciated.

Thanks,

Samson

SamsonTruong
Super User
Super User

Hi @maziiw,

To adjust the line graph to show the top 10 countries by Sales:

  1. Select your chart
  2. Navigate to the filters pane
    SamsonTruong_0-1748918092959.png
  3. Find your Country field in the filters pane
  4. Click the dropdown next to the country field and choose “Top N”
  5. Choose Top 10 > By Sum of Sales > Click Apply filter

 

Please let me know if this helps achieve your desired result.

If this helped, please mark it as the solution so others can benefit too. And if you found it useful, kudos are always appreciated.

Thanks,

Samson

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.

Top Solution Authors
Top Kudoed Authors