Forum Discussion
HopkiJ
2 years agoFrequent Visitor
Occupancy based on time in / time out
Good afternoon I am trying to calculation occupancy for a building based on time in / time out. Ideally this would be presented as a line graph showing the occupancy over a day (using date slider...
- 2 years ago
Regrettably that didn't work for me (as It only showed one total) however, I just unpivoted the column and did a conditional formula is time in then 1 and if time out then -1 and that worked.
Many thanks
Jeni
HopkiJ
2 years agoFrequent Visitor
Regrettably that didn't work for me (as It only showed one total) however, I just unpivoted the column and did a conditional formula is time in then 1 and if time out then -1 and that worked.
Many thanks
Jeni
- BA_Pete2 years agoSuper User
It's supposed to only show one total as you said you wanted to present the output as a line graph.
If you put my measure into a line graph with your TimeTable[Time] column (or any other column from your time table) as the axis, it will show you the occupancy as at the end of the time period on the axis.
Pete