The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello everyone,
I have daily data of received calls with date, day and time.
I try to make a matrix that calculates the average of number of calls received per day and per hour
I have the number of calls received = count(Mytable['DATE'])
But I can't get the average for each value by hour and day
Could someone tell me what I am missing to make the average work?
Thank's in advance,
bof,
Solved! Go to Solution.
Finally the answer was much simpler than that just by calculating the measure in this way:
measure = count(Mytable['DATE'])/ DISTINCTCOUNT(Mytable['DATE'])
Finally the answer was much simpler than that just by calculating the measure in this way:
measure = count(Mytable['DATE'])/ DISTINCTCOUNT(Mytable['DATE'])
@SoufTC 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.
User | Count |
---|---|
82 | |
81 | |
36 | |
32 | |
32 |
User | Count |
---|---|
93 | |
79 | |
62 | |
54 | |
51 |