Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi
I have a mesuare which simple calculation
- the total number of sessions from a table per Month which is coming from my calendar table.
- Total Average Sessions.
I need to create a measure to calculate the average of the total of the months I select, but the way I am doing is calculating a average of each month and the summarizing it.
On the example above would be :
Total Average Session = (62,430 + 69,951) / 2 = 66,190
Thanks
Solved! Go to Solution.
Hi @murillocosta,
The solution below should work for you:
Here's the measure in plain text for convenience:
Average of Averages =
VAR _tbl = SUMMARIZE ( data, [Month], "AvgValue", AVERAGE ( [Value] ) )
RETURN AVERAGEX ( _tbl, [AvgValue] )
Best Regards,
Alexander
Hi @murillocosta,
The solution below should work for you:
Here's the measure in plain text for convenience:
Average of Averages =
VAR _tbl = SUMMARIZE ( data, [Month], "AvgValue", AVERAGE ( [Value] ) )
RETURN AVERAGEX ( _tbl, [AvgValue] )
Best Regards,
Alexander
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
66 |