# How to create a interactive map with a table?

**URL:** <https://community.grafana.com/t/how-to-create-a-interactive-map-with-a-table/163436>\
**Category:** Geomap Panel\
**Created:** [June 25, 2026, 7:47pm UTC](https://community.grafana.com/t/how-to-create-a-interactive-map-with-a-table/163436 "2026-06-25T19:47:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielhenrique](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@danielhenrique](https://community.grafana.com/u/danielhenrique)\
**Post date:** [June 25, 2026, 7:47pm UTC](https://community.grafana.com/t/how-to-create-a-interactive-map-with-a-table/163436/1 "2026-06-25T19:47:06Z")

</div>

Hello!

I am a begginer on grafana, my english is not good but let’s go! I need create a interactive map with a table, this tables is a item on zabbix, this item return a json and i am transform this json in a table on grafana.

I need click on item and filter other items and apply a zoom on map in the item clicked.

I need help please.

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/b/8/b8e7e284f55f83ae7092f0d2a1c17da973f1f829.jpeg)

---

<div class="post-metadata">

**Author:** ![infofcc3](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/infofcc3/32/51248_2.png) [@infofcc3](https://community.grafana.com/u/infofcc3)\
**Post date:** [June 26, 2026, 4:53am UTC](https://community.grafana.com/t/how-to-create-a-interactive-map-with-a-table/163436/2 "2026-06-26T04:53:38Z")

</div>

**Create a Dashboard Variable**

Dashboard Settings → Variables → Add variable  
Type: Custom, Name: `selected_prefix`  
Custom options: your PREFIXO values e.g. `AAA,BBB,CCC`  
Enable Include All option → Custom all value: `.*`  
Click Update → Save

 ![Screenshot (813)](https://us1.discourse-cdn.com/grafana/original/3X/a/3/a3f0f5a7a3e399545aa9a3d2f69010b90d62b163.png)

**Add Data Link to your existing Table panel**

Edit Table panel → right side → Data links → Add link

> URL: /d/YOUR-DASHBOARD-UID/dashboard-name?var-selected\_prefix=${\_\_data.fields.PREFIXO}

Replace `YOUR-DASHBOARD-UID` with the UID from your browser URL bar

 ![Screenshot (814)](https://us1.discourse-cdn.com/grafana/original/3X/4/0/409877e3c012431f96005f64fe145a193b8c72bf.jpeg)

**Add Filter Transformation to Table panel**

Edit Table panel → Transform tab → Add transformation  
Select Filter data by values  
Field: `PREFIXO` → Match: Matches regex → Value: `${selected_prefix:raw}`

 ![Screenshot (815)](https://us1.discourse-cdn.com/grafana/original/3X/7/e/7e611fe2b81cc33d290f78a7e47c3d50dd88900a.png)

**Create Geomap panel**

Add panel → select Geomap visualization  
Use same datasource as your table  
Map layers → Latitude field: `LATITUDE`, Longitude field: `LONGITUDE`  
Add same transformation to this panel too  
In Map view settings → enable Fit to data

 ![Screenshot (816)](https://us1.discourse-cdn.com/grafana/original/3X/c/0/c051f03b6359ced4489697e79b260804da81953d.jpeg)

Click any table row → table filters + map zooms to that location

 ![Screenshot (811)](https://us1.discourse-cdn.com/grafana/original/3X/a/9/a9adf5a8059986464fcd303d8789c20f80dd6136.jpeg)  
 ![Screenshot (812)](https://us1.discourse-cdn.com/grafana/original/3X/f/8/f80f853623afe251e2db1e1b12a02a5193320a65.jpeg)

Select All in variable dropdown → everything resets

Do your Zabbix JSON fields include LATITUDE and LONGITUDE?

---

<div class="post-metadata">

**Author:** ![danielhenrique](https://avatars.discourse-cdn.com/v4/letter/d/b3f665/32.png) [@danielhenrique](https://community.grafana.com/u/danielhenrique)\
**Post date:** [June 26, 2026, 12:16pm UTC](https://community.grafana.com/t/how-to-create-a-interactive-map-with-a-table/163436/3 "2026-06-26T12:16:33Z")

</div>

> [@infofcc3](#):
>
> select Geomap visualization

Dear infofcc3  
Thank you very much for you help.  
Yes, my json include LATITUDE and LONGITUDE.  
I using a datasource mixed with source panel on my table and transform and filter the data on latitude and longitude.

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/0/2/0269359fbc0514fec551a33077f7acac86ab4290.jpeg)

It was a success.

Thank you very much @infofcc3 !

---

<div class="post-metadata">

**Author:** ![infofcc3](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/infofcc3/32/51248_2.png) [@infofcc3](https://community.grafana.com/u/infofcc3)\
**Post date:** [June 26, 2026, 12:24pm UTC](https://community.grafana.com/t/how-to-create-a-interactive-map-with-a-table/163436/4 "2026-06-26T12:24:03Z")

</div>

Thanks @danielhenrique
