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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ch2222
New Member

Calculating Averages

Hi,

 

I am trying to calculate average hours for the items below, however I need to base my average on 4 containers. Thank you!

 

ch2222_1-1675789361699.png

 

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @ch2222 ,

 

Is your problem solved?

If so, please accept the reply as solution, more people will benefit.

If not, please provide me with more details about your problem.

 

Best Regards, 

Stephen Tao

v-stephen-msft
Community Support
Community Support

Hi @ch2222 ,

 

What's the meaning of containers? Please display the expected results.

For now, you can try AVERAGE function.

AVERAGE function (DAX) - DAX | Microsoft Learn

If you also want the average values grouped by a certain field, please refer to

Measure = CALCULATE(AVERAGE('Table'[Net_Hrs]),FILTER(ALLSELECTED('Table'),[Name]=MAX('Table'[Name])))

vstephenmsft_0-1675847787519.png

 

 

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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