Device History
The Device History Analytic Model consists of a union of device history data and device information record history data enhanced with calculated key figures based on Count Distinct.
The following lineage diagram shows the entities described here:

The following table shows the Count Distinct calculations in the model:
|
Calculated Column |
Transformation Rule |
|---|---|
|
Equipment number count |
Count Distinct (Equipment Number Dim) |
The following table lists all the Date fields in the local tables converted from String format to date format:
|
Local table |
Field |
|---|---|
|
Data extractor for device history (LT) |
Validity end date of device |
|
Data extractor for device history (LT) |
Validity start date of device |
|
Data extractor for device history (LT) |
Installation date |
|
Data extractor for device history (LT) |
Device removal date |
|
Data extractor for device history (LT) |
Date of last lead sealing |
|
Data extractor for device history (LT) |
Modification date |
|
Data extractor for device history (LT) |
Last changed on |
|
Data extractor for device history (LT) |
Acquisition date |
|
Data extractor for device history (LT) |
Start-up date of the technical object |
|
Data extractor for device history (LT) |
First delivery date of the equipment |
|
Data extractor for device history (LT) |
Valid-from date |
|
Data extractor for device history (LT) |
Valid to date |
|
Data extractor for device history (LT) |
Date of last goods movement |
|
Data extractor for device history (LT) |
End-of-use date of the technical object |
|
Device Information Record History (LT) |
Validity end date of device |
|
Device Information Record History (LT) |
Validity start date of device |
|
Device Information Record History (LT) |
Installation date |
|
Device Information Record History (LT) |
Device removal date |
The following table lists all the calculated columns in the model:
|
Calculated Column |
Formula |
|---|---|
|
Device Installation |
case when ((UtilsDeviceInstallationDate= '00000000') or (UtilsDeviceInstallationDate<:REF_DATE AND (UtilsDeviceRemovalDate!='00000000' AND UtilsDeviceRemovalDate<:REF_DATE))) THEN 'In Stock' else 'Installed' END |
|
Rawcount |
=1 |