The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi please help me,
i need to sum average's values:
Column "Average of Puma Points" is averages automatically:
And i need to do column:
Year_month, SUM(AVG(Average of puma points))
but it doesnt work.
Solved! Go to Solution.
For this you need a proper measure defined in DAX. Such a calculation is not possible via aggregations in GUI.
Here's something that should work for this particular scenario:
[Puma Points Average-Sum] := var __result = SUMX( ADDCOLUMNS( SUMMARIZE( T, T[Year_Month], T[TaskCode] ), "avg", CALCULATE( AVERAGEX( T[Puma_points] ) ) ), [avg] ) return __result
Best
Darek
For this you need a proper measure defined in DAX. Such a calculation is not possible via aggregations in GUI.
Here's something that should work for this particular scenario:
[Puma Points Average-Sum] := var __result = SUMX( ADDCOLUMNS( SUMMARIZE( T, T[Year_Month], T[TaskCode] ), "avg", CALCULATE( AVERAGEX( T[Puma_points] ) ) ), [avg] ) return __result
Best
Darek
Darek, You Are Great, it works!
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |