Page 54 - DAX-Formula-Reference-Guide-Enterprise-DNA_Neat
P. 54

DAX Formulas Reference Guide  |  Statistical Functions (DAX)




                Parameter                    Definition
                table1                       Any DAX expression that returns a table.

                table2                       Any DAX expression that returns a table.



                Return Value:
                A table with the Cartesian product between each row in table1 and the table that results
                from evaluating table2 in the context of the current row from table1.


                Example:
                GENERATEALL(SUMMARIZE(SalesTerritory,SalesTerritown[SalesTerritoryGroup]),SUMMAR
                IZE(ProductCategory,[ProductCategoryName],”ResellerSales”,SUMX(RELATEDTABLE(Rese
                llerSales_USD),ResellerSales_USD[SalesAmount_USD])))


                MAX Function (DAX)
                Returns the largest numeric value in a column.

                Syntax: MAX(<column>)



                Parameter                    Definition
                column                       The column in which you want to find the largest numeric value.



                Example:
                The following example returns the largest value found in the ExtendedAmount column of
                the InternetSales table.

                =MAX(InternetSales[ExtendedAmount])


                MAXX Function (DAX)
                Returns the largest numeric value in a column.

                Syntax: MAX(<column>)



                Parameter                    Definition
                column                       The column in which you want to find the largest numeric value.



                Example:
                The following example returns the largest value found in the ExtendedAmount column of
                the InternetSales table.


                =MAX(InternetSales[ExtendedAmount])










                +64 21 164 5508  |  info@enterprisedna.co  54
   49   50   51   52   53   54   55   56   57   58   59