Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi there,
I'm using a table that has data showing when punch transactions begin, when they've completed, and I've created a 3rd column that calculates the difference (i.e. processing time). Since there is such a massive inflow of data so frequently, I was wondering how I can calculate a column that shows the average inflow of punches (i.e. punch start) per minute, as well as the average processing time per minute.
Thanks!
Solved! Go to Solution.
Hi @hokiefan1113,
Please try:
average inflow per minute = CALCULATE ( COUNT ( Table[Punch Start] ), ALL ( Table ) ) / DATEDIFF ( MIN ( Table[Punch Start] ), MAX ( Table[Punch Complete] ), MINUTE )
average processing time =
CALCULATE ( SUM ( Table[Processing Time] ), ALL ( table ) )
/ CALCULATE ( COUNTROWS ( Table ), ALL ( Table ) )
Best regards,
Yuliana Gu
Hi @hokiefan1113,
Please try:
average inflow per minute = CALCULATE ( COUNT ( Table[Punch Start] ), ALL ( Table ) ) / DATEDIFF ( MIN ( Table[Punch Start] ), MAX ( Table[Punch Complete] ), MINUTE )
average processing time =
CALCULATE ( SUM ( Table[Processing Time] ), ALL ( table ) )
/ CALCULATE ( COUNTROWS ( Table ), ALL ( Table ) )
Best regards,
Yuliana Gu
User | Count |
---|---|
103 | |
90 | |
78 | |
72 | |
68 |
User | Count |
---|---|
110 | |
96 | |
95 | |
74 | |
71 |