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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

 

 

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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