---
title: "Simple dashboard using metadata-matches macro"
canonical: "https://support.appfire.com/space/COMALACM/655759394/Simple%20dashboard%20using%20metadata-matches%20macro"
format: markdown
---
> Macro (aura-html)

## Overview

A simple use of the metadata app is to add multiple versions of the [metadata-matches](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/656580345) macro to populate a table, creating a dashboard of information from a group of pages.

In our example, there are individual pages for a project. Each project page has:

- An assigned project lead as a metadata value
- The number of hours completed by the project lead for each month as a metadata value

## Creating the dashboard

Three initial [metadata-matches](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/656580345) macros are used:

- The metadata value name for the macro is `Project Lead.`
- The `Project Lead` values for each [metadata-matches](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/656580345) macro are `Alana`, `Hisbiscus`, and` Cyclamen`

![image](media://91e760d8-0334-46a2-8662-c567a2d6e9de)

![image](media://91974a5a-26e4-442b-908f-6b5928d436c4)

![image](media://e64f1f6c-edb7-47cd-bfd4-c14064bb1ff8)

Each individual macro displays, for the named project leader, the number of project pages where the `Project Lead` value matches their name.

A copy of each macro can be configured to add the metadata value-name for the calculation.

![image](media://05c384d1-9c73-4091-9d3b-50ac32d82a7c)

This would sum the values of the `Feb Hours` metadata on the matching pages where `Alana` is the value for `Project Lead`.

For each project leader, a copy of each macro with the value name can be made, and the function option can be amended in the macro editor to show the `average`. 

![image](media://8d0a2862-64a4-4a26-9df7-a795fab0415b)

These can be added to a simple Confluence table:

![image](media://47a7a243-bac8-43a4-bf67-b6e408f73565)

The page display is a simple dashboard for the project lead's hours for February.

![image](media://b0330e0a-4abd-497c-9534-2a6a423810d3)

> ✅ <span style="color: #091e42">Multiple versions of the </span><span style="color: #091e42">[metadata-matches](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/656580345)</span><span style="color: #091e42"> macro can also be added to the Confluence </span>`chart`<span style="color: #091e42"> macro to visualize and present the collated data from each report.</span>

## Related macros

- [space-metadata macro](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/656578849)
- [space-metadata-from macro](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/655890479)
- [space-metadata-list macro](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/655890257)

## Related pages

- [Using metadata in a space](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/655758361)
- [Retrieving and displaying space metadata](https://appfire.atlassian.net/wiki/spaces/COMALACM/pages/655758622)