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.
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
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 |
---|---|
106 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |