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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to get a Continuous Line Graph for all Dates - if you are Missing Values for some Dates?

 
2 ACCEPTED SOLUTIONS
Ahmedx
Super User
Super User

Anonymous
Not applicable

Hi @Anonymous ,

 

This is due to the design of this visual object.
If you want to have consecutive dates. create the following measure that fills the value of a null-valued date with 0. at which point the curve is:

vtangjiemsft_0-1704434728013.png

 

Measure = SUM('Table'[MTBF])+0

vtangjiemsft_2-1704434809336.png

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

View solution in original post

5 REPLIES 5
Ahmedx
Super User
Super User

pls try this

Screenshot_2.png

Anonymous
Not applicable

.

Anonymous
Not applicable

Hi @Anonymous ,

 

This is due to the design of this visual object.
If you want to have consecutive dates. create the following measure that fills the value of a null-valued date with 0. at which point the curve is:

vtangjiemsft_0-1704434728013.png

 

Measure = SUM('Table'[MTBF])+0

vtangjiemsft_2-1704434809336.png

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Anonymous
Not applicable

Hi @Anonymous ,

 

I can't access your pbix file, please change the permissions and reshare the link.

To have a continuous date series, you can add a Date table. A simple method is to use DAX function Calendar. Then build a relationship between Date table and Fact table on Date column. Use Date table's Date column on X-axis of the line chart. This could make the X-axis have all continuous dates. And on the dates that are missing in Fact table, the measures with "+ 0" will return 0.

DateTable = CALENDAR(MIN(YourDataSource[DateColumn]), MAX(YourDataSource[DateColumn]))
Value Measure = SUM ( 'Table'[value] ) + 0

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Anonymous
Not applicable

.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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