Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I have multiple stores where the staff schedule is for every 5 minutes. I need to work out the median staff quantity per hour for each store for each day for each staff type. 🙂
Is this possible? I have been hunting the solution for a couple of days.
Store | Date | Time | Hour | Quantity | Staff Type |
Peters | 01-Feb-18 | 9:00 AM | 9 | 4 | Cashier |
Peters | 01-Feb-18 | 9:05 AM | 9 | 4 | Cashier |
Peters | 01-Feb-18 | 9:10 AM | 9 | 4 | Cashier |
Peters | 01-Feb-18 | 9:15 AM | 9 | 4 | Cashier |
Peters | 01-Feb-18 | 9:20 AM | 9 | 4 | Cashier |
Peters | 01-Feb-18 | 9:25 AM | 9 | 4 | Cashier |
Peters | 01-Feb-18 | 9:30 AM | 9 | 4 | Cashier |
Peters | 01-Feb-18 | 9:35 AM | 9 | 4 | Cashier |
Peters | 01-Feb-18 | 9:40 AM | 9 | 4 | Cashier |
Peters | 01-Feb-18 | 9:45 AM | 9 | 4 | Cashier |
Peters | 01-Feb-18 | 9:50 AM | 9 | 4 | Cashier |
Peters | 01-Feb-18 | 9:55 AM | 9 | 4 | Cashier |
Peters | 01-Feb-18 | 10:00 AM | 10 | 6 | Cashier |
Peters | 01-Feb-18 | 10:05 AM | 10 | 6 | Cashier |
Peters | 01-Feb-18 | 10:10 AM | 10 | 6 | Cashier |
Peters | 01-Feb-18 | 10:15 AM | 10 | 6 | Cashier |
Peters | 01-Feb-18 | 10:20 AM | 10 | 6 | Cashier |
Peters | 01-Feb-18 | 10:25 AM | 10 | 6 | Cashier |
Peters | 01-Feb-18 | 10:30 AM | 10 | 6 | Cashier |
Peters | 01-Feb-18 | 10:35 AM | 10 | 6 | Cashier |
Peters | 01-Feb-18 | 10:40 AM | 10 | 6 | Cashier |
Peters | 01-Feb-18 | 10:45 AM | 10 | 6 | Cashier |
Peters | 01-Feb-18 | 10:50 AM | 10 | 6 | Cashier |
Peters | 01-Feb-18 | 10:55 AM | 10 | 6 | Cashier |
Solved! Go to Solution.
Just put Store and Hour in a table. Don't summarize Hour. Now put Quantity in the table and choose the "Median" aggregation. Like Page 1 of the attached file.
Just put Store and Hour in a table. Don't summarize Hour. Now put Quantity in the table and choose the "Median" aggregation. Like Page 1 of the attached file.
I dont know why I didnt realize this myself... When you too deap into it you dont take a chance to step back.
That's why we're here, to be that other set of eyes!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
75 | |
60 | |
37 | |
33 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |