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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Niels_T
Post Patron
Post Patron

How to get average of an order

I would like to take the average of the revenue, however, when I select 'average' or make an average measure with DAX I get a strange outcome.

 

image.png

 

As you can see the average is 9,730.29.

 

The expected outcome in this case should be: 38,921.27

 

Could also someone explain why Power BI calculates it this way?

1 ACCEPTED SOLUTION
2 REPLIES 2
selimovd
Super User
Super User

Hello @Niels_T ,

 

it's kind of hard to say anything with that amount of information.

Can you post the tables and measure you are using? Best case, can you provide a sample file?

 

Usually DAX is simply calculating the average. If you need the average per row you have to use the AVERAGEX function. But as I said withoutany information it's hard to help you.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍

Best regards
Denis

Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.