# ROW\.PARENT

ROW\.PARENT refers to the immediate parent. Chaining is possible - ROW\.PARENT.PARENT refers to the grandparent and so on.

## Example

We need to calculate the % Contribution of Phones -> East to Technology.

One way to calculate would be to select the 'East' row under Phones and divide it by the 'Technology' row.

Instead, we can use the reference 'Row\.Parent.Parent'. Note that you can refer to the 'Phones' row by using 'Row\.Parent'.

In the below image, you can see that for 2016 Quantity, % Contribution is calculated as 46/219 resulting in 21%.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/Formula%20row%20parent.png" alt=""><figcaption><p>Row.Parent.Parent</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fabricplan.com/planning-sheets/formula-syntax/identifiers/row.parent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
