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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Ivashamagnus
Frequent Visitor

Correct recording of time periods. Empty cells.

Hello dear Power Bi masters!

 

I collect data from the beginning of my sleep and the end of my sleep to display it on a graph.

 

I guess I'm recording this data incorrectly.

 

Question: how should I correctly record data in my case?

 

I will visualize it in Deneb in Power Bi desktop on the advice of Super User lbendlin.

 

My goal is to get a visualization of my sleep segments on a graph. I will show an example of visualization in the picture.

 

note: I heard that you can't use tables with empty cells in power bi. This is true? The fact is that one day sometimes has 2 or 3 sleep areas, which means 2 or 3 rows in a table with one day. In this case, some data in the columns should have no values to avoid doubling or tripling the values on the same day in the graph. How can I enter data correctly for deneb power bi?

123123.jpg545345345.jpg

1 REPLY 1
lbendlin
Super User
Super User

My goal is to get a visualization of my sleep segments on a graph
The fact is that one day sometimes has 2 or 3 sleep areas, which means 2 or 3 rows in a table with one day. In this case, some data in the columns should have no values to avoid doubling or tripling the values on the same day in the graph

It is up to you to decide how you want this chart to look like. It's not really a problem to plot multiple sleep periods for a day.  You'll have to decide what to do with overnight sleep - most likely cut it into two parts at midnight as they occur on different days.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.