AVERAGEA function (DAX) - DAX | Microsoft Learn
learn.microsoft.com › en-us › daxJun 21, 2022 · The AVERAGEA function takes a column and averages the numbers in it, but also handles non-numeric data types according to the following rules: Values that evaluates to TRUE count as 1. Values that evaluate to FALSE count as 0 (zero). Values that contain non-numeric text count as 0 (zero). Empty text ("") counts as 0 (zero).
How to Calculate Average of Total in Power BI
community.powerbi.com › t5 › DesktopSep 18, 2017 · Use following steps: 1. Create a new measure. 2. Use below DAX. Replace Table1 with your table name. AverageofTotal = VAR Countofrows = CALCULATE (COUNTROWS (Table1),ALL (Table1)) VAR TotalQuantity = CALCULATE (SUM (Table1 [Quantity]),ALL (Table1)) RETURN CALCULATE (DIVIDE (TotalQuantity,Countofrows,0),ALL (Table1 [Item]) ) Prateek Raina