Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
I have two tables that I need to find Turn around Time of the Approvers to approve projects the tables are as follows.
Projects Table
| projectID | ProjectName | Approval Initiator | Created |
| 1 | Project1 | Initiator1 | 27/12/2021 04:56:23 |
| 2 | Project2 | Initiator2 | 27/12/2021 08:00:33 |
| 3 | Project3 | Initiator3 | 28/12/2021 04:32:56 |
| 4 | Project4 | Initiator4 | 29/12/2021 11:11:28 |
Approvals Tables
| projectID | ProjectName | Approver | Approval TIme | Outcome |
| 1 | Project1 | Approver1 | 01/01/2022 03:37:00 | Returned |
| 1 | Project1 | Approver1 | 01/01/2022 04:22:45 | Returned |
| 1 | Project1 | Approver1 | 01/01/2022 06:47:22 | Delegation |
| 1 | Project1 | Approver1 | 01/01/2022 :22:45 | Returned |
| 2 | Project2 | Approver1 | 02/01/2022 :00:36 | Returned |
| 2 | Project2 | Approver1 | 03/01/2022 :05:30 | Delegation |
| 3 | Project3 | Approver2 | 04/01/2022 :01:34 | Approver |
Solved! Go to Solution.
@ryan_mayu , the data is from an a Power app application and a single project can have mutiple approvers, the approvers table displays that..
@Anonymous
is this what you want?
Proud to be a Super User!
@Anonymous
what's the expected output based on the sample data?
how to get the approval time? e.g. we have 4 approval time of project 1 .
Proud to be a Super User!
@ryan_mayu , the data is from an a Power app application and a single project can have mutiple approvers, the approvers table displays that..
Hey, this only solves the first part of the equation for the first approver, for subsequent approvers, one needs to subtract the CUrrent Approver time to the Immediate former Approver time, and divide by 24..
An if statement for the above would work
Formulae =IF First Approver
(Approvals[Approval TIme]-RELATED(Projects[Created]))/24
ELse
(Aprovals[Approval TIme] Below line for the same project - Aprovals[Approval TIME]Same Line for the same project)/24
@Anonymous
pls try this
Column =
var _FIRST=CALCULATE(min('Approvals'[Approval TIme]),ALLEXCEPT(Approvals,Approvals[projectID]))
VAR _next=minx(FILTER(Approvals,Approvals[projectID]=EARLIER(Approvals[projectID])&&Approvals[Approval TIme]>EARLIER(Approvals[Approval TIme])),Approvals[Approval TIme])
return if(Approvals[Approval TIme]=_FIRST, (Approvals[Approval TIme]-RELATED(Projects[Created]))/24, (_next-Approvals[Approval TIme])/24)
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 48 | |
| 35 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 132 | |
| 105 | |
| 59 | |
| 39 | |
| 31 |