Hey everyone,
I have started a new internship and have to take over the reporting of my predecesor. A collegue wants me to create a new column in a power pivot that returns the dollar value of revenue of the last order for each one of our customers. Generally this power pivot is the list of all orders that have been placed in our system.
The present function is as follows:
=CALCULATE(MAX('shipment - DB'[created_at]); FILTER('shipment - DB'; EARLIER([company_id])= 'shipment - DB'[company_id]))
This function works fine and returns the last order date stamp for each shipment in our database. I.e. now for every row in my power pivot there is a new column that tells me when the last time stamp was when that company order from us.
The only problem is that I want it to return the Revenue dollar amount for that order rather than the date stamp.
Is that possible and if yes how?
Thank you in advance for any help.
I have started a new internship and have to take over the reporting of my predecesor. A collegue wants me to create a new column in a power pivot that returns the dollar value of revenue of the last order for each one of our customers. Generally this power pivot is the list of all orders that have been placed in our system.
The present function is as follows:
=CALCULATE(MAX('shipment - DB'[created_at]); FILTER('shipment - DB'; EARLIER([company_id])= 'shipment - DB'[company_id]))
This function works fine and returns the last order date stamp for each shipment in our database. I.e. now for every row in my power pivot there is a new column that tells me when the last time stamp was when that company order from us.
The only problem is that I want it to return the Revenue dollar amount for that order rather than the date stamp.
Is that possible and if yes how?
Thank you in advance for any help.