Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
SoufTC
Helper I
Helper I

How to get a average of count in values of matrix

Hello everyone,

 

I have daily data of received calls with date, day and time.

 

SoufTC_0-1630427587327.png

 

I try to make a matrix that calculates the average of number of calls received per day and per hour

 

SoufTC_2-1630428149933.png

 

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,

1 ACCEPTED SOLUTION
SoufTC
Helper I
Helper I

Finally the answer was much simpler than that just by calculating the measure in this way:

 

measure = count(Mytable['DATE'])/ DISTINCTCOUNT(Mytable['DATE'])

View solution in original post

2 REPLIES 2
SoufTC
Helper I
Helper I

Finally the answer was much simpler than that just by calculating the measure in this way:

 

measure = count(Mytable['DATE'])/ DISTINCTCOUNT(Mytable['DATE'])

Greg_Deckler
Community Champion
Community Champion

@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.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors