Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello all, I need to summarize the Asset Cost for each project number using two data sets. the data sets have multiple rows for each project costs.
The "main Table" has the "Project Numbers". and can show up on multiple rows.
The "Table 2" also has "Project Numbers" and has the "Asset Costs" needed to summarize. This table also has multiple rows for "Project Numbers"
I am thinking of using a PBI Matrix table and dropping the "Project Numbers" in "Rows" and then dropping the DAX Measure created here in "Values.
Solved! Go to Solution.
Hi @Higgs11 ,
Does that meet your requirement?
Table 2 = VAR a = ADDCOLUMNS ( SUMMARIZE ( 'Main table', 'Main table'[Project ID], 'Main table'[Project Number] ), "id", 'Main table'[Project Number] ) RETURN ADDCOLUMNS ( a, "c", CALCULATE ( SUM ( 'Table'[Asset Cost] ), FILTER ( 'Table', 'Table'[Project No] = [id] ) ) )
Hi @Higgs11 ,
Does that meet your requirement?
Table 2 = VAR a = ADDCOLUMNS ( SUMMARIZE ( 'Main table', 'Main table'[Project ID], 'Main table'[Project Number] ), "id", 'Main table'[Project Number] ) RETURN ADDCOLUMNS ( a, "c", CALCULATE ( SUM ( 'Table'[Asset Cost] ), FILTER ( 'Table', 'Table'[Project No] = [id] ) ) )