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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
RJSuttlemyre
Frequent Visitor

Line graph cutting off first and last month

I have a line graph with two measures that show the last three years by month.  However, before the first month (zeroes in the data) and after the last month (zeroes in the data), the line graph goes to zero.  However, in the visualization, I have it set as below and if I put in the start of the first month of the three month period (Oct 2021), it cuts off even more of the line graph.  I'm sorry, but I can't share the file.  Does anyone know what may be causing the issue?  As a note, I'm not using a date table 

 

RJSuttlemyre_0-1727464718850.png

RJSuttlemyre_1-1727464845695.png

 

 

1 ACCEPTED SOLUTION
AnnieTay
Frequent Visitor

You can replace these specific zeroes with null in your data, or filter out the dates you don't require, and don't set the range:

 

AnnieTay_0-1727793755571.pngAnnieTay_1-1727793800948.png

 

AnnieTay_2-1727793868555.png

 

View solution in original post

2 REPLIES 2
AnnieTay
Frequent Visitor

You can replace these specific zeroes with null in your data, or filter out the dates you don't require, and don't set the range:

 

AnnieTay_0-1727793755571.pngAnnieTay_1-1727793800948.png

 

AnnieTay_2-1727793868555.png

 

lbendlin
Super User
Super User

As a note, I'm not using a date table 

Use a date table.

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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