Forum Discussion
Creating new column
- 10 years ago
I imagine the Product table has one line item for each product. If that's the case, you can create a relationship between the Product table and Order table on the product identifier, e.g., ProductID, or whatever uniquely identifies the product. Look for the Manage Relationships button in the Home tab of the ribbon to get started with the relationship.
Once that's complete, you can create your new column in your Order table as
COST = RELATED(ProductTableName[UNIT COST]) * [QUANTITY]
I imagine the Product table has one line item for each product. If that's the case, you can create a relationship between the Product table and Order table on the product identifier, e.g., ProductID, or whatever uniquely identifies the product. Look for the Manage Relationships button in the Home tab of the ribbon to get started with the relationship.
Once that's complete, you can create your new column in your Order table as
COST = RELATED(ProductTableName[UNIT COST]) * [QUANTITY]
Thanks. GRice...it's working.. :smileyhappy:
Best Regards
Manish Arora