Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Yo everyone, how are you doing :)?
I am trying to measure avg duration between different stages at my work flow.
Im using salesforce field history data and the table build like that:
I Would like to find the avg duration of each ParentID(foregin key) and between specific stages. for example:
Whats the datediff between
Created date of ParentID = a2p..... ,oldValue = New, NewValue = Assignted &
Created date of ParentID = a2p..... ,oldValue = Assignted, NewValue = In progress.
What ive done so far:
Solved! Go to Solution.
@Anonymous
Try createing an average measure like this.
Average Measure = AVERAGEX ( VALUES ( 'History: Work'[ParentID] ), [Measure #1] )
@Anonymous
Try createing an average measure like this.
Average Measure = AVERAGEX ( VALUES ( 'History: Work'[ParentID] ), [Measure #1] )
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 40 | |
| 30 | |
| 24 |