Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI DataLink

Add parent-event attributes as columns in the Compare Events task pane

Add parent-event attributes as columns in the Compare Events task pane

  • Last UpdatedMar 19, 2025
  • 2 minute read

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.

  1. Open the Compare Events task pane and specify events to retrieve into the worksheet.

  2. 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

    1. 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).

      Clone 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 Event­name attribute of the grandparent event).

      Clone grandparent event

    Unique attribute name

    1. 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 (.|).

    2. Enter the correct path and name of the parent-event attribute.

      For example, to include the Type attribute of the parent event, enter ..|Type.

      Insert attribute

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

TitleResults for “How to create a CRG?”Also Available in