DAX Average

JNM

New Member
Joined
Jan 24, 2012
Messages
35
I need some help on how to create a measure that does the average of 5 year columns shown. Each of the columns are separate measures. As shown in the picture the AverageTtlSales value isn't the average of the 5 years - it shows 10, I want it to be 168.



The AverageTtlSales measure is:

Code:
=Average([SalesQty])

I tried:
Code:
=Average(sum([SalesQty]))
The AVERAGE function only accepts a column reference as an argument.

I also tried:
Code:
=Average([TTl SalesQty])
Calculation error in measure 'MeppsILE'[AverageTtlSales]: The AVERAGE function only accepts a column reference as the argument number 1.

Thanks for the help...
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
It didn't upload my picture so here it is in a layout

Item Year1 Year2 Year3 Year4 Year5 TtlYr AvgYr
AB0 460 232 122 92 9 915 10
 
Upvote 0

Forum statistics

Threads
1,214,821
Messages
6,121,762
Members
449,048
Latest member
excelknuckles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top