SUMX function (DAX) - DAX | Microsoft Learn
learn.microsoft.com › en-us › daxJun 21, 2022 · The SUMX function takes as its first argument a table, or an expression that returns a table. The second argument is a column that contains the numbers you want to sum, or an expression that evaluates to a column. Only the numbers in the column are counted. Blanks, logical values, and text are ignored.
SUMX for data from multiple tables - Power BI
community.powerbi.com › t5 › DesktopNot impossible (probably) but difficult. Power BI works best with a star schema, which means one FACT table for all simlar data. You seem to have two FACT tables with the same type of data - two warehouse files. That should be modeled as one table in Power Query through an Append query with a new field that identifies the warehouse.
SUMX FROM 2 DIFFERENT TABLES (DAX) - Power BI
community.powerbi.com › t5 › Power-QueryJan 8, 2020 · If you need a single SUMX for two fields in different tables, use something like the following: Measure = SUMX ( TableName, TableName [Field] * RELATED (TableName2 [DifferentField]) ) The tables have to have a relationship, and this assumes you are going from the many table to the one table. For example, you are multiplying quantities in a sales fact table against the cost of goods from a product dimension table.