Hello,
I have a table (in fact a view) with Jobs for Equipment. Every Equipment can have several Jobs. The fields of concern are:
- EquipmentID
- StartDate
In a Numeric Axis Chart I want for the x-axis the different years in StartDate: so the field is placed in "On change of" and Order: per Year
For the y-axis I want to count the maximum of StartDate for every EquipmentID. This means that I want to count per year the last Job every Equipment was repaired.
I tried this with a calculation field:
Maximum ({vJobSce.StartDate},{vJobSce.EquipmentID} )
and also with a SQL expression (and linked to the Job table through EquipmentID):
(
Select EquipmentID, Max(StartDate)
from vJobSce
group by EquipmentID
)
But I get always the count for every StartDate in the table per year?
Than you for your valuable help.
I have a table (in fact a view) with Jobs for Equipment. Every Equipment can have several Jobs. The fields of concern are:
- EquipmentID
- StartDate
In a Numeric Axis Chart I want for the x-axis the different years in StartDate: so the field is placed in "On change of" and Order: per Year
For the y-axis I want to count the maximum of StartDate for every EquipmentID. This means that I want to count per year the last Job every Equipment was repaired.
I tried this with a calculation field:
Maximum ({vJobSce.StartDate},{vJobSce.EquipmentID} )
and also with a SQL expression (and linked to the Job table through EquipmentID):
(
Select EquipmentID, Max(StartDate)
from vJobSce
group by EquipmentID
)
But I get always the count for every StartDate in the table per year?
Than you for your valuable help.