# Data dashboard

<figure><img src="https://1353649376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaTEDNbiFdDa6DW2eNG17%2Fuploads%2FbqzboAR9Ai8gRNc5Vf82%2Fimage.png?alt=media&#x26;token=535f002d-f482-4e74-ab49-66f2f121a7ad" alt=""><figcaption></figcaption></figure>

Under the datafields pane (also called the *data dashboard*), you get an overview of all [datafields](https://help.clause9.com/datafields/introduction-to-datafields) used in the active document, grouped by default by:

* &#x20;the **concepts** to which the datafields are connected; and
* &#x20;the **categories** to which the different concepts belong.

Each datafield that does not have a value assigned yet, will have an icon showing the type of the datafield and may be assigned a color by the creator of the datafield (dark grey is the default color).

{% hint style="info" %}
The meaning of such colors is custom to your organisation — please refer to the responsible person within your organisation. For example, some organisations use colors to allow users to quickly identify the most important datafields in a document. Other organisations may for example use certain colors to differentiate between “legal” values and “business” values.
{% endhint %}

* At the left of each datafield, you will also see a magnifying glass icon <img src="https://1353649376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaTEDNbiFdDa6DW2eNG17%2Fuploads%2FPZIPnvBprW7XbwD9km2U%2Fimage.png?alt=media&#x26;token=433c3c80-574d-45bd-9932-1eda6e796f5c" alt="" data-size="line">. When you click on it, you will see a popup-list that provides an exhaustive list of all the clauses where the datafield is used.
* When you click on a datafield that does not yet have a value, a default value will be assigned to it. You can then modify the value anyway you like.
* When some value is assigned to a datafield, you can click on the label of the datafield to scroll to and highlight the first clause where this value is currently used in the document/binder.

{% hint style="success" %}
When you hold Shift and click on a datafield that does not yet have a value assigned, you will also be scrolled to and highlight the first clause where this value is currently used.
{% endhint %}

## Options

### Popup-menu <img src="https://1353649376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaTEDNbiFdDa6DW2eNG17%2Fuploads%2Fdu7bNiwYndRi6Ia6Fa9T%2Fimage.png?alt=media&#x26;token=7686ca3d-65a4-4f2a-9f46-4d6ef88b19e3" alt="" data-size="line">

When clicking on this icon (located in the top left corner of the *Data dashboard*), you will be shown a popup-menu that enables you to toggle the following options:

* toggle grouping of datafields by category
* toggle showing of datafields without a value assigned
* clear all datafields
* save and reload the values currently assigned to the datafields as a standard set
* select one of the saved sets of datafield values (cf. previous bullet)
* copying and pasting datafield values

{% hint style="success" %}
Do not underestimate the power of saving & reloading sets of datafield values, as made possible by this popup-menu. These features enable you to quickly *simulate* how your clauses react to certain combinations of datafields. By saving sets of datafield values, you can then switch between entire contexts to see how your various clauses “react” to the values.
{% endhint %}

{% hint style="success" %}
Tip: you can also copy/paste datafield values between different documents/binders — if the source document/binder contains certain datafields that are not present in the target document/binder, then those will simply be ignored.

You can even copy/paste datafield values between a Q\&A and a document/binder, in both directions. For the Q\&A, only questions with an associated datafield will be taken into account for the matching. See [Copying & pasting answers](https://help.clause9.com/qna/copying-and-pasting-answers) for more information.
{% endhint %}

### Show unused <img src="https://1353649376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaTEDNbiFdDa6DW2eNG17%2Fuploads%2FplvuhhnA6HFVA0nD9OxZ%2Fimage.png?alt=media&#x26;token=5a9d78d0-7b6a-4131-a619-5a83cab00ecb" alt="" data-size="line">

When this option is enabled, Clause9 will include *all* datafields that are mentioned somewhere in a clause. When this options is disabled (the default), Clause9 will only include datafields that are *actually* currently used.

{% hint style="info" %}
For example, if the body of a clause contains the text `alpha {#contract^value > 5000: #contract^name} beta`, and datafield `#contract^value` is currently set to 2000, then `#contract^name` will not be visible. If no other clause would currently use datafield `#contract^name`, then this datafield will be omitted from the data dashboard — except if *show unused* is visible.

Similarly, in a condition such as `#contract^value > 5000 and #applicable-law^name = "Dutch"`, datafield `#applicable-law^name` will not be “used” when the contract’s value is currently set to 2000, because Clause9 will immediately stop evaluating the condition at the moment it notices that `#contract^value` is lower than 5000, as there is no need to perform any further evaluation.
{% endhint %}

### Clause enablers <img src="https://1353649376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaTEDNbiFdDa6DW2eNG17%2Fuploads%2FBDGlzdphuckfbm2ukkrT%2Fimage.png?alt=media&#x26;token=8f1e02fb-9ce4-46ef-8675-e38b8fefa52b" alt="" data-size="line">

Toggling this option will show/hide datafields that act as *clause enablers*, i.e. datafields used in the “enabled?” condition of a clause.

{% hint style="info" %}
For example, in a condition such as `#contract^value > 5000 and #applicable-law^name = "Dutch"`, both `#contract^value` and `#applicable-law^name` will qualify as clause enablers.
{% endhint %}

### Text enablers <img src="https://1353649376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaTEDNbiFdDa6DW2eNG17%2Fuploads%2Fg6cgwB4qvgRrlyfBfS8I%2Fimage.png?alt=media&#x26;token=311ad27b-af71-4178-98cd-3072f4918246" alt="" data-size="line">

Toggling this option will show/hide datafields that act as *text enablers*, i.e. datafields used within conditions that are used in the title or body text of clauses to show/hide parts of a clause.

{% hint style="info" %}
For example, when you would write `Alpha {#contract^value > 5000: beta}`, datafield `#contract^value` will qualify as a text enabler, because it enables/disables the visibility of text part “beta”.
{% endhint %}

### Others <img src="https://1353649376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaTEDNbiFdDa6DW2eNG17%2Fuploads%2F9eMZ0dNhVx0uuBMQevxw%2Fimage.png?alt=media&#x26;token=a85eaa44-5eaa-4362-b12a-c051374f6078" alt="" data-size="line">

Toggling this option will show/hide datafields that do not act as clause or text enablers.

For example, if the body of a clause contains the following text: `Alpha #contract^value beta`, then `#contract^value` will qualify as “other” datafield.

### Bulk <img src="https://1353649376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaTEDNbiFdDa6DW2eNG17%2Fuploads%2Fsht4QSsdyyU2kfjRWMOX%2Fimage.png?alt=media&#x26;token=13ef850b-7e87-4020-9db0-9c2077fc432d" alt="" data-size="line">

This button — only visible for advanced users — brings you to a mode where you can interact with (and prepare for) the [Clause9 API](https://help.clause9.com/dev/clause9-api), e.g. by inspecting the datafields present in the document.

## Saving values in the data dashboard

When the document is saved, all values that have been entered in the data dashboard will be saved as well. This has three important consequences to keep in mind:

* When you close and re-open the document, those values will still be there.
* If the document is used in one or more binders, those values will also be used in that binder unless another value was assigned to that datafield in the binder.
* Any Q\&As attached to that document will also implicitly have that value assigned for the relevant datafield.&#x20;

{% hint style="warning" %}
Values saved in a document will therefore affect the 'starting position' of the Q\&A: until the user of the Q\&A has answered the question with the relevant datafield, that datafield will contain the value saved in the document which means the document will be affected (e.g. because a condition will be triggered or because some information has been completed on the basis of that datafield).
{% endhint %}
