# Questions as Rows

Depending on the third party tools that you are using for analysis the default export output based on columns results in too much pre-processing to be able to analyze the data.

To allow an easier data analysis ngSurvey offers a way to pivot the data that you are exporting. Instead of organizing the data by columns it will organize the data per rows where each question will have its own row for each of the respondents.  Using such a format will enable you to easily group, filter the data to focus on the actual data analysis of the  the data that you have collected.

## ➡️ Data export file output samples

Using a survey with following questions and answers, you would be able to get a pivoted output of all the respondent data.&#x20;

<figure><img src="/files/Pi3ignUO36vtSdYOYRah" alt=""><figcaption></figcaption></figure>

Here the pivoted view of the data were ngSurvey generates for each respondent a single row for each of the question and answer in the survey.

<figure><img src="/files/yRk00b2PXrWRMTrdbkfp" alt=""><figcaption></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.ngsurvey.com/form-management/data-export/data-exports/csv-excel/questions-as-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.
