Power bi and Average

Brass Contributor

Hello,

I've been using Pivot-tables where we can easily choose Average,sum,... (like the image below) - but is there something like that in Power bi  - I have values but I don't know how the find or display their AVERAGE in power Bi ... would you please show me how?    thank you in advance

Capture.PNG

 

6 Replies

You will need to use DAX to calculate the average of the entity. For example if the table is called flour and you have sales column,
To calculate the sum,
Sum = (Sum(flour[sales]))
While the average will be

Average = (Average(flour[sales]))

 

@ahmad ali 

@AKP_1 , CALCULATE is not necessary here

Really? I thought it is needed in the PowerBI environment.

@AKP_1 , if you use filters when with CALCULATE, otherwise why to complicate. Here is Excel data model environment, but in Power BI it's the same

Thank you @Sergei Baklan  For the heads up!

Thank you @AKP_1