Add parent-event attributes as columns in the Compare Events task pane
- Last UpdatedMar 19, 2025
- 2 minute read
- PI System
- PI DataLink 2023 SP1
- Visualization
To help compare events in a worksheet, you can include columns that contain information about the parent events of matched events. Use the Columns to display list in the Compare Events task pane to insert attributes of parent events (and their parent events or any higher level event in the hierarchy).
Note: The Compare Events function does not retrieve data from parent-event attributes for events with relationships defined through event-frame references.
-
Open the Compare Events task pane and specify events to retrieve into the worksheet.
-
From the Columns to display list in the Compare Events task pane, add parent-event attributes using the method appropriate for the attribute:
To insert:
Do this:
Same attribute name at parent level
-
Right-click the attribute and then select Clone for parent event.
PI DataLink inserts the parent-event attribute of the same name above the selected attribute.
For example if you right-click the .|Event name attribute (the Event name attribute of the matched event) and select Clone for parent event, PI DataLink inserts the ..|Event name attribute (the Event name attribute of the parent event).

You can repeat to add the same attribute from events higher up the hierarchy. For example, if you right-click the ..|Event name attribute and select Clone for parent event, PI DataLink inserts the ..\..|Event name attribute (the Eventname attribute of the grandparent event).

Unique attribute name
-
Right-click the attribute above which you want to insert the parent-event attribute, and then select Insert attribute.
PI DataLink inserts a blank attribute at the primary event level (.|).
-
Enter the correct path and name of the parent-event attribute.
For example, to include the Type attribute of the parent event, enter ..|Type.

For information on path syntax, see Path notation for Compare Events function.
-