Hello,
I am looking to create a column that has the total gross margin for the customer on each row. This is transactional data, so the customers are not unique in the columns. How I would typically do this is create a new table, summarize the current one with Customer, sum of sales, and sum of cost. Create a new column for customer margin, create a relationship with the original data, and create a new column in the original data using the related function.
This works, but it would be nice not having to create a new table for any time I need to do this. I'm assuming CALCULATE and ALL will be used.
Thanks for any help.