> For the complete documentation index, see [llms.txt](https://docs.inforiver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inforiver.com/formula-syntax/identifiers/row.parent.md).

# ROW\.PARENT

The **ROW\.PARENT** identifier 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%.&#x20;

<figure><img src="/files/mkzpARJKKgKOa7WgYhky" alt=""><figcaption><p>Using Row.Parent.Parent</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.inforiver.com/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.
