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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
v-stephen-msft
Community Support
Community Support

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
v-stephen-msft
Community Support
Community Support

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

v-stephen-msft
Community Support
Community Support

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.