# Not getting how to report / display two pieces of data from Cloudwatch

**URL:** <https://community.grafana.com/t/not-getting-how-to-report-display-two-pieces-of-data-from-cloudwatch/1118>\
**Category:** Configuration\
**Tags:** templating\
**Created:** [May 26, 2017, 9:46pm UTC](https://community.grafana.com/t/not-getting-how-to-report-display-two-pieces-of-data-from-cloudwatch/1118 "2017-05-26T21:46:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wrgeorge](https://avatars.discourse-cdn.com/v4/letter/w/f475e1/32.png) [@wrgeorge](https://community.grafana.com/u/wrgeorge)\
**Post date:** [May 26, 2017, 9:46pm UTC](https://community.grafana.com/t/not-getting-how-to-report-display-two-pieces-of-data-from-cloudwatch/1118/1 "2017-05-26T21:46:52Z")

</div>

What I’ve got:  
putting this into cloudwatch:

```
[
    {
        'MetricName': 'ConnectionState',
        'Dimensions': [
            {
                'Name': 'ConnectionId',
                'Value': iid
            },
            {
                'Name': 'ConnectionName',
                'Value': name
            },
        ],
        'Value': state,
        'Unit': 'None'
    },
]

```

and trying to reference it like this:

![](https://us1.discourse-cdn.com/grafana/original/1X/cc01043ecdb4f456734696f2e5f488df46f396f5.png)

gives me titles like this:

![](https://us1.discourse-cdn.com/grafana/original/1X/48d3d18f07a9720b60956120f7bacbdaa220cf1f.png)

So for a given Panel, referring to a given object, I’d like the title to include both the ConnectionID and the ConnectionName, but instead it’s correctly rendering the ‘ConnectionID’ for each panel, and just including the text of whatever’s selected in the dropdown for all panels.

What am I missing?

---

<div class="post-metadata">

**Author:** ![daniellee](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/daniellee/32/41_2.png) [@daniellee](https://community.grafana.com/u/daniellee)\
**Post date:** [July 7, 2017, 11:19am UTC](https://community.grafana.com/t/not-getting-how-to-report-display-two-pieces-of-data-from-cloudwatch/1118/2 "2017-07-07T11:19:43Z")

</div>

This is working as intended. ConnectionName should mirror what is chosen in the drop down. The reason connectionId works is that you have chosen it as the variable for `Repeat Panel`.

As you can only choose one variable to repeat on, I don’t think you can do what you want to ☹

---

<div class="post-metadata">

**Author:** ![wrgeorge](https://avatars.discourse-cdn.com/v4/letter/w/f475e1/32.png) [@wrgeorge](https://community.grafana.com/u/wrgeorge)\
**Post date:** [July 9, 2017, 4:08am UTC](https://community.grafana.com/t/not-getting-how-to-report-display-two-pieces-of-data-from-cloudwatch/1118/3 "2017-07-09T04:08:48Z")

</div>

yeah, in the meantime I gave up on that approach and modified the code  
generating the metrics to compose the label ahead of time store the metrics  
under that. It’s not ideal, but works for our purposes.
