This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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 April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.