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

Issue with missing data in Timeline

Hello. I've run into an issue that I'm struggling to find an answer for. I'm building a timeline (line graph) using a table of summarized data (DAX SUMMARIZE). Here's an example:

Summarize Example.PNG

The Service Count column is the value, Month is the axis, and Service Type is the legend. Service Count is an addition of Running Total and a lookup on service type from another table. Running Total is just that, a running total of the column Month Total. This gives a cumulative count from a specific starting point. All of this works as intented.  The problem is that this data comes from an activity table, and not every "service type" has activity every month. When this happens, the service count does not exist for that month and you end up with zig-zags or breaks in the line. In reality the change for that month was zero, which means the month total would be 0, running total and service count would be unchanged from the previous month. Ideally there would be an entry for the service type for that month with a month total of 0, however I have no way of adding that to the source data set. Any ideas out there? Thanks!

2 REPLIES 2
Anonymous
Not applicable

@Anonymous 

You should create the Running total and Service count and filter with your Calendar, and use the Calendar on x-axis. If you don't have one you can create a date table with Calender() or Calenderauto(), then related it with your Date column on your original table. 

 


Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
  

Greg_Deckler
Community Champion
Community Champion

Create a calendar table using CALENDARAUTO or CALENDAR. Relate it to your fact table. Use calendar table as x-axis.

 

Create a measure like:

 

...

RETURN

  IF(ISBLANK(<something>),0,<something>))



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.