Forum Discussion

GregB49's avatar
GregB49
Icon for Helper I rankHelper I
5 years ago
Solved

Device state on a time line

Hi everyone, 

I working on a sensor that sent the state of a device "Marche"= On or "Arrêt"=Off
I calculated the state duration by doing the difference between two states :

(Duration = Begin date of the state declaration - Begin date of the next state declaration")

So for each row, I have a state, a starting date and a duration.

 

What I'm trying to do is to visualize the state of my device during the day. Something like this : 

 

So in order to create a x-axis with hour, I have created a Hour Table (with a 10min incrementation) and I linked it to my table. 
But from this point, I don't know where to go, every visual that I've tried did not work...
An extract of my Hour table : 

 

And how I've linked it : 

 

 


Would you have any idea guys ? 🙂 

Thank you !

2 Replies