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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.