Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello Everyone,
I'm facing an issue in defining time slot which will give me the time occupied on call during the day.
I've two consultants, one from India and other from USA.
I've time of call and the duration of call(in minutes). In very last column I've mentioned the desired time slots.
I want to calculate, on call duration %, time slot wise.
Desired table,
Location | 1 PM | 2 PM | 3 PM | 4 PM | 5 PM | 6 PM | 7 PM |
India | 100 % | 75 % | 100 % | 33.33% | - | - | - |
USA | 100 % | 100 % | 83.33% | 100 % | 25 % | 100 % | 50 % |
Here is the file with Sample Data.
Solved! Go to Solution.
Thank you for providing sample data.
Your desired table outcome ignores the [Date] column - how are you planning to handle that? One result per day? Some sort of aggregation? What if a call runs into a new day?
Also, I don't see any time zone information in your setup. Is that intentional?
First step: Create a table that has all the columns and rows you want in the output:
Next step: list all the calls for the selected location.
(again CONCATENATEX is for validation purposes)
Then we need to create a similar series for each hour bucket
And lastly we can see how many of the calls' minutes fall into the selected hour bucket, using INTERSECT()
I'll leave the percentages calculation up to you.
Thank you for providing sample data.
Your desired table outcome ignores the [Date] column - how are you planning to handle that? One result per day? Some sort of aggregation? What if a call runs into a new day?
Also, I don't see any time zone information in your setup. Is that intentional?
First step: Create a table that has all the columns and rows you want in the output:
Next step: list all the calls for the selected location.
(again CONCATENATEX is for validation purposes)
Then we need to create a similar series for each hour bucket
And lastly we can see how many of the calls' minutes fall into the selected hour bucket, using INTERSECT()
I'll leave the percentages calculation up to you.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |