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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
kpickle
Frequent Visitor

Event duration plot

Hi there, I am trying to recreate this time duration plot but cant quite figure it out in Pbi.

This is what the end result should look like. Each "event" duration - sleep, feed, diaper, etc - plotted against the date and time. 

IMG_9499.jpg

 

This is where Im currently at:

2022-09-23_14-21-45.png

 

2022-09-23_14-14-15.png

 

2022-09-23_14-32-53.png

 

Thoughts? Suggestions? Am I even setting this up correctly? I've also been playing with pivoting the Type column but its still a work in progress. 

Any help is much appreciated. 

1 REPLY 1
lbendlin
Super User
Super User

It's a good start.  You will need to add "downtime" periods (as unlikely as they seem with a baby) and decide on the data granularity (for example minute-level accuracy).  Then you can construct all the time slices per their duration and finally stack them all together to get to the 24 hrs.

 

If you like more help please provide sanitized (haha funny) sample data that fully covers your issue.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.