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 nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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] )
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 23 | |
| 23 | |
| 14 |
| User | Count |
|---|---|
| 46 | |
| 33 | |
| 20 | |
| 18 | |
| 16 |