> ## Documentation Index
> Fetch the complete documentation index at: https://linkq.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Reporting

> You can find several reports under the Reporting menu of most apps that let you analyze and visualize the data of your records.

## Selecting a view

Depending on the report, LinkQ can display the data in various ways. Sometimes, a unique view fully tailored to the report is available, while several views are available for others. However, two generic views are dedicated to reporting: the graph and pivot views.

### **Graph view**

The **graph view** is used to visualize your records’ data, helping you identify patterns and trends. The view is often found under the **Reporting** menu of apps but can be found elsewhere. Click the **graph view button** located at the top right to access it.

![Image](https://mintcdn.com/linkq/BzQSVbOxO8sAjnet/images/image-8.png?fit=max\&auto=format\&n=BzQSVbOxO8sAjnet\&q=85\&s=33f833b51f439b6c17c642e6ee0808b9)

### Pivot view

The **pivot view** is used to aggregate your records’ data and break it down for analysis. The view is often found under the **Reporting** menu of apps but can be found elsewhere. Click the **pivot view button** located at the top right to access it.

![Image](https://mintcdn.com/linkq/MTganoXJkLIgnjiQ/images/image-9.png?fit=max\&auto=format\&n=MTganoXJkLIgnjiQ\&q=85\&s=708b200150cf5511f8ff0b856175ddd7)

## **Choosing measures**

After selecting a view, you should ensure only the relevant records are **filtered**. Next, you should choose what is measured. By default, a measure is always selected. If you wish to edit it, click **Measures** and choose one or, only for pivots, multiple measures.

> [!NOTE]
>
> Note
>
> When you select a measure, **LinkQ** aggregates the values recorded on that field for the filtered records. Only numerical fields (**integer**, **decimal**, **monetary**) can be measured. In addition, the **Count** option is used to count the total number of filtered records.

After choosing what you want to measure, you can define how the data should be **grouped** depending on the dimension you want to analyze. By default, the data is often grouped by *Date > Month*, which is used to analyze the evolution of a measure over the months.

> [!TIP]
>
> **Tip**
>
> When you filter a single time period, the option to compare it against another one appears.
>
> ![Image](https://mintcdn.com/linkq/z3G24nI24qVnhHPN/images/image-14.png?fit=max\&auto=format\&n=z3G24nI24qVnhHPN\&q=85\&s=e44ab0df9655b4e4654b06d667c363cb)

> [!NOTE]
>
> **Example**
>
> > [tab] Select measures
> >
> > Among other measures, you could add the **Margin** and **Count** measures to the Sales Analysis report. By default, the **Untaxed Amount** measure is selected.
> >
> > ![Image](https://mintcdn.com/linkq/Qul9VtK_MBUb6FDp/images/image-13.png?fit=max\&auto=format\&n=Qul9VtK_MBUb6FDp\&q=85\&s=0cec0128b1286fc77e818f34eb29865f)
>
> > [tab] Group measures
> >
> > You could group the measures by **Product Category** at the level of rows on the previous Sales Analysis report example.
> >
> > ![Image](https://mintcdn.com/linkq/hO0eO4BFfg3slqfN/images/image-12.png?fit=max\&auto=format\&n=hO0eO4BFfg3slqfN\&q=85\&s=93dba3350705533da2e97af351fc9999)

## **Using the pivot view**

Grouping data is quintessential to the pivot view. It enables drilling down the data to gain deeper insights. While you can use the **Group By** option to quickly add a group at the level of rows, as shown in the example above, you can also click the plus button (**➕**) next to the **Total** header at the level of rows *and* columns, and then select one of the **preconfigured groups**. To remove one, click the minus button (**➖**).

Once you have added a group, you can add new ones on the opposite axis or the newly created subgroups.

> [!NOTE]
>
> **Example**
>
> You could further divide the measures on the previous Sales Analysis report example by the **Salesperson** group at the level of columns and by the **Order Date > Month** group on the **All / Saleable / Office Furniture** product category.
>
> ![Image](https://mintcdn.com/linkq/dCyzROEIst4yc4QV/images/image-15.png?fit=max\&auto=format\&n=dCyzROEIst4yc4QV\&q=85\&s=1c096666e4c54c3f96dca350d8d2971e)

> [!TIP]
>
> **Tip**
>
> * Switch the rows and columns’ groups by clicking the flip axis button (**⇄**).
> * Click on a measure’s label to sort the values by ascending (⏶) or descending (⏷) order.
> * Download a `.xlsx` version of the pivot by clicking the download button ().

## **Using the graph view**

Three graphs are available: the bar, line, and pie charts.

**Bar charts** are used to show the distribution or a comparison of several categories. They are especially useful as they can deal with larger data sets.

**Line charts** are useful to show changing time series and trends over time.

**Pie charts** are used to show the distribution or a comparison of a small number of categories when they form a meaningful whole.

> [tab] Bar chart
>
> ![Image](https://mintcdn.com/linkq/PFeSK4g_3Ea-q7gC/images/image-16.png?fit=max\&auto=format\&n=PFeSK4g_3Ea-q7gC\&q=85\&s=eac918914f9b65eefffbf89825729e74)

> [tab] Line chart
>
> ![Image](https://mintcdn.com/linkq/PFeSK4g_3Ea-q7gC/images/image-17.png?fit=max\&auto=format\&n=PFeSK4g_3Ea-q7gC\&q=85\&s=f9073f80e30097e97c60ed487aa35611)

> [tab] Pie chart
>
> ![Image](https://mintcdn.com/linkq/PFeSK4g_3Ea-q7gC/images/image-18.png?fit=max\&auto=format\&n=PFeSK4g_3Ea-q7gC\&q=85\&s=a121bc1a0dd70878d76bf8c651491e87)

> [!NOTE]
>
> **Tip**
>
> For **bar** and **line** charts, you can use the stacked option when you have at least two groups, which then appear on top of each other instead of next to each other.
>
> > [tab] Stacked bar chart
> >
> > ![Image](https://mintcdn.com/linkq/mm5Oc2eMNbNaTmwJ/images/image-19.png?fit=max\&auto=format\&n=mm5Oc2eMNbNaTmwJ\&q=85\&s=c60be8f1b5c9581e8094764511c4f24a)
>
> > [tab] Regular bar chart
> >
> > ![Image](https://mintcdn.com/linkq/mm5Oc2eMNbNaTmwJ/images/image-20.png?fit=max\&auto=format\&n=mm5Oc2eMNbNaTmwJ\&q=85\&s=0c50e5bda3035f8e67cf900177de2ad2)
>
> > [tab] Stacked line chart
> >
> > ![Image](https://mintcdn.com/linkq/mm5Oc2eMNbNaTmwJ/images/image-21.png?fit=max\&auto=format\&n=mm5Oc2eMNbNaTmwJ\&q=85\&s=934c612856e3d4ffcd0381d9d5d91e1f)
>
> > [tab] Regular line chart
> >
> > ![Image](https://mintcdn.com/linkq/mm5Oc2eMNbNaTmwJ/images/image-22.png?fit=max\&auto=format\&n=mm5Oc2eMNbNaTmwJ\&q=85\&s=7533a057c3b9ae377231a77aaafc5fd1)

For **line** charts, you can use the cumulative option to sum values, which is especially useful to show the change in growth over a time period.

> [tab] Cumulative line chart
>
> ![Image](https://mintcdn.com/linkq/3r-R2rwpBnpbPepb/images/image-25.png?fit=max\&auto=format\&n=3r-R2rwpBnpbPepb\&q=85\&s=ac2ab02cb8ba9b9897c2fcc00f16c8ab)

> [tab] Regular line chart
>
> ![Image](https://mintcdn.com/linkq/3r-R2rwpBnpbPepb/images/image-24.png?fit=max\&auto=format\&n=3r-R2rwpBnpbPepb\&q=85\&s=0d847f95f04cb737cd668df297d29be3)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.