The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I really need some help with a DAX that gives me a count of call occurrence in a specific time interval.
I have a table of call_logs, there are two columns call_start and call_end that is call started and call ended. I want to show the 15min, 30min, and 1hr count of each interval. It means if I choose 15 min interval then I will show how many calls have occurred in each 15min interval for the whole day.
Any help greatly appreciated.
Thanks,
Jay
Solved! Go to Solution.
Hi, @jaypatel
Maybe this is not the final result you expect, but I am close to the goal. Below is my test file. You can download and view it. Maybe it will give you some clues. You can try to modify it to the result you want.
Result:
Hope this helps
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
How to calculate the total number of incoming calls and outgoing calls per day uniquely in a call history and also as per location.
Hi, @jaypatel
Maybe this is not the final result you expect, but I am close to the goal. Below is my test file. You can download and view it. Maybe it will give you some clues. You can try to modify it to the result you want.
Result:
Hope this helps
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi You Can try with below
= Var StartTime = CALCULATE(MIN([date_stated])
Var MaxTime = CALCULATE(MIN([date_ended])
Retrun CALCULATE (COUNTROWS(TABLE]), FILTER(TABLE, date_Stated>= StartTime && date_ended <=Maxtime))
Appreciate a Kudos! 🙂
If this helps and resolves the issue, please mark it as a Solution! 🙂
Regards,
N V Durga Prasad
No, It returns 1 next to my columns.
I want to separate the time interval and then add the count row as the expected result.
User | Count |
---|---|
80 | |
78 | |
37 | |
34 | |
31 |
User | Count |
---|---|
93 | |
81 | |
60 | |
49 | |
49 |