ljtrzebinski
New Member
- Joined
- Jul 7, 2016
- Messages
- 6
Hi all,
Hope someone can help me out with my request. I am trying to create a report that will show "ProviderName", "LastAssignedSalesName", and "Revenue Generated".
Please note that there could be more than one person assigned during the year to the provider listed. I just need most recent name.
I have two tables:
Job Detail - Job Detail has the job number, provider name & Sales Name.
Sales - Sales has job number, shift worked, and revenue generated.
I though that I could accomplish this by using lastnonblank
LastSales=LASTNONBLANK(Job[SalesName],[Total Revenue]) - It works but sales name is the last with the highest revenue generated rather than last assignment.
Any other suggestions?
Hope someone can help me out with my request. I am trying to create a report that will show "ProviderName", "LastAssignedSalesName", and "Revenue Generated".
Please note that there could be more than one person assigned during the year to the provider listed. I just need most recent name.
I have two tables:
Job Detail - Job Detail has the job number, provider name & Sales Name.
Sales - Sales has job number, shift worked, and revenue generated.
I though that I could accomplish this by using lastnonblank
LastSales=LASTNONBLANK(Job[SalesName],[Total Revenue]) - It works but sales name is the last with the highest revenue generated rather than last assignment.
Any other suggestions?