Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3951 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

A little more information would be helpful... How are the two tables related, and what are you trying to achieve?  

Posted

I`ve got 3 tables, salesmen, orders and workingdays.

 

I want to make a report where the salesmen can see how much they`ve sold and how many hours they work sorted per month for example, but the problem is that how much they have sold is in one table and they`re working hours is in another table.

Posted

Are you just wanting to calculate the total sales for the month, and the total hours for each salesperson on a given month?  Or, are you wanting to show a listing of all of the orders or workdays?   What does each row or record represent in your solution as you envision it?  

 

Here are a few suggestions:

1. From a layout representing the Salesperson table, you can place two portals:  One to Orders and one to Workingdays. Add a "start" and "end" as date global fields onto this layout and use it to filter the portals to the time range that you want. 

 

2. On the Salesperson table you can also create a calculated field, using the Sum( ) function that adds up the sale amount for the related Orders table that falls within the date range defined by "start" and "end", as above. You could do the same to sum the WorkingDays data on the Saleperson table.  

This topic is 3951 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.