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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
bcampbell
Helper I
Helper I

AVERAGES in a Matrix Table ??

How could I solve this problem

 

I have a Matrix Table showing the Day of the Week and Time by Hour

 

I have Count of Values , but if I broaden up the time frame mroe than a week , then my Values will just increase

 

I would rather know the averages,  I tried to do a quick measure 

 

 

Count of number average per SOH = 
AVERAGEX(
	KEEPFILTERS(VALUES('emmain'[SOH])),
	CALCULATE(COUNTA('emmain'[number]))
)

 

 

 

And applies that measure as the values on another matrix table , but all it appears to be doing is summing the totals.

 

How could I do this correctly ?

Thanks

-BradScreenshot 2021-03-09 140511.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @bcampbell ,

 

Try

Count of number average per SOH =
AVERAGEX ( ALLEXCEPT ( emmain, emmain[SOH] ), COUNTA ( emmain[number] ) )

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @bcampbell ,

Could you tell me if your problem has been solved?
If it is, kindly Accept it as the solution. More people will benefit from it.
Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.


Best Regards,
Stephen Tao

Anonymous
Not applicable

Hi @bcampbell ,

 

Try

Count of number average per SOH =
AVERAGEX ( ALLEXCEPT ( emmain, emmain[SOH] ), COUNTA ( emmain[number] ) )

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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
Top Kudoed Authors