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
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
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.