# Show multiple measurements in single graph

**URL:** <https://community.influxdata.com/t/show-multiple-measurements-in-single-graph/8878>\
**Category:** Systems\
**Tags:** influxdb, grafana\
**Created:** [March 5, 2019, 10:01am UTC](https://community.influxdata.com/t/show-multiple-measurements-in-single-graph/8878 "2019-03-05T10:01:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Indeed\_1](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@Indeed\_1](https://community.influxdata.com/u/Indeed_1)\
**Post date:** [March 5, 2019, 10:01am UTC](https://community.influxdata.com/t/show-multiple-measurements-in-single-graph/8878/1 "2019-03-05T10:01:39Z")

</div>

Hi everyone  
I have question about influxdb and grafana

I create multiple retention policy like this (daily, weekliy, monthly)

Now I want to show them in single graph with single line on grafana.

FYI: I think groupby them by greater time scope, e.g if I have data by second and mintues and hours groupby hours.

Any idea?

Thanks

---

<div class="post-metadata">

**Author:** ![Amit\_Kumar\_Singh](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/amit_kumar_singh/32/2827_2.png) [@Amit\_Kumar\_Singh](https://community.influxdata.com/u/Amit_Kumar_Singh)\
**Post date:** [March 5, 2019, 7:38pm UTC](https://community.influxdata.com/t/show-multiple-measurements-in-single-graph/8878/2 "2019-03-05T19:38:57Z")

</div>

I used mixed datasource option in grafana when i had to used different database, i think it should work with your problem too

---

<div class="post-metadata">

**Author:** ![Indeed\_1](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@Indeed\_1](https://community.influxdata.com/u/Indeed_1)\
**Post date:** [March 6, 2019, 6:23pm UTC](https://community.influxdata.com/t/show-multiple-measurements-in-single-graph/8878/3 "2019-03-06T18:23:02Z")

</div>

Data store in one database but different measurments, do you think mix mode still work in this case?

---

<div class="post-metadata">

**Author:** ![Amit\_Kumar\_Singh](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/amit_kumar_singh/32/2827_2.png) [@Amit\_Kumar\_Singh](https://community.influxdata.com/u/Amit_Kumar_Singh)\
**Post date:** [March 7, 2019, 5:55am UTC](https://community.influxdata.com/t/show-multiple-measurements-in-single-graph/8878/4 "2019-03-07T05:55:33Z")

</div>

I think you can, but toggle the query mode, and write the query.
