Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
I have defined the below measure named "Total_HC":
Is there a way I can define another measure that computes the average of "Total_HC"?
Thanks!
Solved! Go to Solution.
The basic principle is to perform an AVERAGEX over a variable which summarizes the dimension you want the average over, which could be date, category, etc.
Average of measure =
var summaryTable = ADDCOLUMNS( SUMMARIZE( 'Date', 'Date'[Year month]), "@val", [Measure name])
return AVERAGEX( summaryTable, [@val] )
The basic principle is to perform an AVERAGEX over a variable which summarizes the dimension you want the average over, which could be date, category, etc.
Average of measure =
var summaryTable = ADDCOLUMNS( SUMMARIZE( 'Date', 'Date'[Year month]), "@val", [Measure name])
return AVERAGEX( summaryTable, [@val] )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
101 | |
86 | |
64 |