Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I'm trying to calculate the average TTA of a TTA grouped by call_ID, but it won't show the average of the sum correctly. Furhermore I want to combine call_id if just one of the call_id has been 1 on ext.nAnswered. I tried this with a filter but the lines with ext.nAnswered =0 are removed.
Data:
Solved! Go to Solution.
@mennosteen , try like
TTA_Bundel = averagex(SUMMARIZE(Telefoon, Telefoon[Call_ID],"_1", Telefoon[TTA]),[_1])
TTA_Bundel = averagex(SUMMARIZE(Telefoon, Telefoon[Call_ID],"_1", sum(Telefoon[TTA])),[_1])
Hi @mennosteen ,
You can do like this.
__Average =
CALCULATE(
AVERAGE(Sheet1[TTA]),
ALLEXCEPT(Sheet1, Sheet1[Call_ID])
)__One 1 =
VAR x =
CALCULATE(
SUM(Sheet1[Answered]),
ALLEXCEPT(Sheet1, Sheet1[Call_ID])
)
RETURN
IF(
x = 1,
SELECTEDVALUE(Sheet1[Call_ID]),
BLANK()
)
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@mennosteen , try like
TTA_Bundel = averagex(SUMMARIZE(Telefoon, Telefoon[Call_ID],"_1", Telefoon[TTA]),[_1])
TTA_Bundel = averagex(SUMMARIZE(Telefoon, Telefoon[Call_ID],"_1", sum(Telefoon[TTA])),[_1])
@mennosteen This looks like a measure aggregation problem. See my blog article about that here: https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149
The pattern is:
MinScoreMeasure = MINX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
MaxScoreMeasure = MAXX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
AvgScoreMeasure = AVERAGEX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
etc.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.