The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello All,
I am trying to get the hourly occupancy.
I the have a start date / start time and end date / end time of each transaction (see example of dataset below). The total stalls per Lot is in a different table (REVLOTS [StallCount])
Appreciate the help!
You might be able to use a calander table and an hour table (hours in a day).
Then it might help to change the granularity of your data and turn it into a set of records that records one record for each hour of occupancy.
Then your calculations of percent of occupancy should be much simpler.
Help when you know. Ask when you don't!
What would be the best way to change the granularity of each transaction to show it per hour instead of the time range?
for example, your first record, that goes from 2 pm one day to 12 pm the next would expand into 22 records, one for each day/hour of occupancy.
Help when you know. Ask when you don't!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
32 | |
20 | |
17 | |
15 |
User | Count |
---|---|
56 | |
31 | |
30 | |
24 | |
22 |