Forum Discussion
Multiply Columns within different Tables - Not giving correct output...
- 10 years ago
In this example I managed to fix the issue.
I completed a merge on the 2 tables with the relevant data. This created a column that contained all of the columns from 'Table 2', so I picked 'Hourly Rates'. I then created a calculated column multiplying the 'Hours' column by the 'Hourly Rates' column, this gave me the desired outcome.
Thanks for everyones suggestions and help. :smileywink:
Hi JC-80,
Could you please post the sample data of your two tables and post the expected result here? Regrading to the above table, you can simply create a measure to summarize the cost by using the formula: Measure = SUMX(Table1,Table1[Hours]*Table1[Hours Rate]).
Thanks,
Lydia Zhang
In this example I managed to fix the issue.
I completed a merge on the 2 tables with the relevant data. This created a column that contained all of the columns from 'Table 2', so I picked 'Hourly Rates'. I then created a calculated column multiplying the 'Hours' column by the 'Hourly Rates' column, this gave me the desired outcome.
Thanks for everyones suggestions and help. :smileywink: