# Evaluate columns before rows

When inserting calculated rows, in some cases you might want the column totals to be the sum of the child columns whereas in other cases, it needs to follow the defined formula. In this video, learn how to configure this behaviour using the 'Evaluate column before rows' option.&#x20;

{% embed url="<https://lumel.wistia.com/medias/z1hhdw0slx>" %}

> ## **Related resources**
>
> #### Feature highlights
>
> [Visual calculations in Power BI](https://inforiver.com/webinars/visual-level-formula-calculations-powerbi/)
>
> #### User guide
>
> [Evaluate columns before rows](https://docs.inforiver.com/working-with-inforiver/4.-adding-business-logic-and-formulae/insert-calculated-rows#4.-evaluate-column-before-rows)


---

# 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://videos.inforiver.com/reporting-matrix/visual-level-formulas/evaluate-columns-before-rows.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.
