> For the complete documentation index, see [llms.txt](https://docs.totallink.nl/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.totallink.nl/functioneel-beheer/how-to../module-specifieke-configuratie/datalink-instellen/datalink-excel.md).

# Datalink Excel

Haal data rechtstreeks uit TotalLink op in Excel via DataLink. Je hebt hiervoor een URL en een API-key nodig — die ontvang je van de functioneel beheerder.

{% hint style="info" %}
Heb je nog geen URL of API-key? Vraag deze op bij de functioneel beheerder van jullie TotalLink-omgeving.
{% endhint %}

## Hoe verbind ik Excel met DataLink?

{% stepper %}
{% step %}

### Open Excel en kies **From Web**

1. Open Excel en ga naar het tabblad **Data**.
2. Klik op **From Web** → kies **Advanced**.

> 📸 **Afbeelding:** Excel tabblad Data met de knop From Web gemarkeerd, Advanced-optie geselecteerd
> {% endstep %}

{% step %}

### Vul de URL en header in

1. Vul in:
   * **URL:** `https://[organisatienaam].datalink.totallink.nl/api/views/[databron-id]`
   * Voeg een **Header** toe:
     * Naam: `X-API-key`
     * Waarde: jouw API-sleutel

> 📸 **Afbeelding:** Advanced-venster met URL ingevuld en header X-API-key toegevoegd
> {% endstep %}

{% step %}

### Klik op **OK**

Klik op **OK**. Excel haalt nu de data op.
{% endstep %}
{% endstepper %}

## De data omzetten naar een tabel

De data komt binnen als een lijst. Zo zet je hem om naar een bruikbare tabel:

{% stepper %}
{% step %}

### Zet de lijst om naar een tabel

In **Power Query**: klik met de rechtermuisknop op de kolom → kies **List** → **To Table** → klik **OK**.
{% endstep %}

{% step %}

### Spreid de velden uit

Klik op het **uitklap-icoon** (twee pijltjes) bovenaan de kolom om de velden uit te spreiden.

> 🎬 **Schermopname:** Doorloop in Power Query: rechtermuisklik op kolom → List → To Table → OK → uitklap-icoon klikken
> {% endstep %}
> {% endstepper %}

{% hint style="info" %}
Geen zorgen als de data er eerst vreemd uitziet — na het uitspreiden in stap 2 zie je de losse kolommen verschijnen.
{% endhint %}


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.totallink.nl/functioneel-beheer/how-to../module-specifieke-configuratie/datalink-instellen/datalink-excel.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
