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!View all the Fabric Data Days sessions on demand. View schedule
Good Evening,
I am in the process of trying to figure out how to get a duration Average where as the duration is already provided. My issue is getting the filter right as i need filter on each unique ID in a large table, grab each occurance of a name and its associated #(Duration), and then caluclate the average.
This is my query measure thus far,
I have isolated to one unique ID there which is id_sys_id and am trying to get the duration average between all the instances that say TOC_OPS.
Welcoming any suggestions, thanks in advance.
Solved! Go to Solution.
@Dalton948
Please try:
Ticket Time AVG =
VAR _CurrentElement_ID =
MAX ( 'Fabled Metric Table'[id_sys_id] )
VAR __Result =
CALCULATE (
AVERAGE ( 'Fabled Metric Table'[duration] ),
'Fabled Metric Table'[id_sys_id] = _CurrentElement_ID,
'Fabled Metric Table'[value_metric_instance] = "TOC_OPS"
)
RETURN
__Result
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
This worked pretty well, i also forgot to change the duration column to whole numbers. Once i checked that and with your formula, it worked like a charm. Thanks for your help!
@Dalton948
Please try:
Ticket Time AVG =
VAR _CurrentElement_ID =
MAX ( 'Fabled Metric Table'[id_sys_id] )
VAR __Result =
CALCULATE (
AVERAGE ( 'Fabled Metric Table'[duration] ),
'Fabled Metric Table'[id_sys_id] = _CurrentElement_ID,
'Fabled Metric Table'[value_metric_instance] = "TOC_OPS"
)
RETURN
__Result
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 6 | |
| 5 | |
| 3 |