# How to pass parameters to a datavisualisation through a dashboard URL

**URL:** <https://discuss.elastic.co/t/how-to-pass-parameters-to-a-datavisualisation-through-a-dashboard-url/246767>\
**Category:** Kibana\
**Created:** [August 28, 2020, 1:19pm UTC](https://discuss.elastic.co/t/how-to-pass-parameters-to-a-datavisualisation-through-a-dashboard-url/246767 "2020-08-28T13:19:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ted1](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@Ted1](https://discuss.elastic.co/u/Ted1)\
**Post date:** [August 28, 2020, 1:19pm UTC](https://discuss.elastic.co/t/how-to-pass-parameters-to-a-datavisualisation-through-a-dashboard-url/246767/1 "2020-08-28T13:19:10Z")

</div>

Hi folks,  
I'm quite new to Kibana and can't find a solution to my problem.

I got a visualisation (based on the "enhanced table" plugin) and I'm able to pass parameters through its URL (rf **{{col0}}** and **{{col1}}** in the code below), and it works well.

```auto
kibana#/visualize/edit/07a1eb00-e86e-11ea-a67c-41867833fb93?_g=(refreshInterval:(pause:!t,value:0),time:(display:'Last%201%20year',from:now-1y,to:now))&_a=(filters:!(),linked:!f,query:(language:kuery,query:''),uiState:(vis:(params:(sort:(columnIndex:4,direction:desc)))),vis:(aggs:!((enabled:!t,id:'1',params:(customLabel:Sales_data,field:to.sales_current),schema:metric,type:sum),(enabled:!t,id:'4',params:(customLabel:Cat,field:cat2,missingBucket:!f,missingBucketLabel:Missing,order:desc,orderBy:'1',otherBucket:!f,otherBucketLabel:Other,size:100),schema:bucket,type:terms),(enabled:!t,id:'3',params:(filters:!((input:(language:kuery,query:'cust_ID%20:%20%22 **{{col0}}** %22%20'),label:'Customer%20sales'),(input:(language:kuery,query:'cust_seg2%20:%20%22{{col1}}%22%20'),label:'CTG%20sales'))),schema:splitcols,type:filters)),params:(computedColsPerSplitCol:!f,computedColumns:!(('$$hashKey':'object:1537',alignment:center,applyAlignmentOnTitle:!t,applyAlignmentOnTotal:!t,applyTemplate:!f,applyTemplateOnTotal:!t,datePattern:'MMMM%20Do%20YYYY,%20HH:mm:ss.SSS',enabled:!t,format:number,formula:'col%5B!'Customer%20sales!'%5D%2Ftotal%5B!'Customer%20sales!'%5D',label:'%25Cust%20sales',pattern:'0.0%25',template:%7B%7Bvalue%7D%7D),('$$hashKey':'object:2294',alignment:center,applyAlignmentOnTitle:!t,applyAlignmentOnTotal:!t,applyTemplate:!f,applyTemplateOnTotal:!t,datePattern:'MMMM%20Do%20YYYY,%20HH:mm:ss.SSS',enabled:!t,format:number,formula:'col%5B!'CTG%20sales!'%5D%2Ftotal%5B!'CTG%20sales!'%5D',label:'%25CTG%20sales',pattern:'0.0%25',template:%7B%7Bvalue%7D%7D),('$$hashKey':'object:2901',alignment:center,applyAlignmentOnTitle:!t,applyAlignmentOnTotal:!t,applyTemplate:!f,applyTemplateOnTotal:!t,datePattern:'MMMM%20Do%20YYYY,%20HH:mm:ss.SSS',enabled:!t,format:number,formula:'total%5B!'Customer%20sales!'%5D*(col%5B!'%25CTG%20sales!'%5D-col%5B!'%25Cust%20sales!'%5D)',label:Potential,pattern:'0,0a',template:%7B%7Bvalue%7D%7D)),filterAsYouType:!f,filterBarHideable:!f,filterBarWidth:'25%25',filterCaseSensitive:!f,filterHighlightResults:!f,filterTermsSeparately:!f,hiddenColumns:'2',hideExportLinks:!f,perPage:10,showFilterBar:!f,showMetricsAtAllLevels:!f,showPartialRows:!f,showTotal:!f,sort:(columnIndex:4,direction:desc),stripedRows:!f,totalFunc:sum),title:'DEV%20-%20POTENTIAL%20-%20ETABLE%20(non%20dynamique)',type:ns-enhanced-table)) 

```

The problem is just that I land on the visualisation itself (which is logical), while I'd like to have the visualisation integrated into a dashboard. So I embed this visualisation in a dashboard, which URL is:  
(07a1eb00-e86e-11ea-a67c-41867833fb93 is the ID of the data visualisation)

```auto
kibana#/dashboard/c5994510-e916-11ea-a67c-41867833fb93?_g=(refreshInterval:(pause:!t,value:0),time:(display:'Last%201%20year',from:now-1y,to:now))&_a=(description:'',filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:15,i:'33cab130-588d-4f0b-823a-a1d95f61de72',w:24,x:0,y:0),id:'07a1eb00-e86e-11ea-a67c-41867833fb93',panelIndex:'33cab130-588d-4f0b-823a-a1d95f61de72',type:visualization,version:'7.6.2')),query:(language:kuery,query:''),timeRestore:!f,title:'DEV%20-%20POTENTIAL%20-%20TEST',viewMode:view) 

```

What I would like to do is pass the data visualisation parameters **{{col0}}** and **{{col1}}** in the **_dashboard_** URL.

I tried many things, but always got "unable to parse URL"...  
Any idea how to do this? (or if it is even possible?)

Thanks fo your help!

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [August 28, 2020, 2:23pm UTC](https://discuss.elastic.co/t/how-to-pass-parameters-to-a-datavisualisation-through-a-dashboard-url/246767/2 "2020-08-28T14:23:44Z")

</div>

That is not possible. Dashboard does not provide a way to pass URL parameters to panels

---

<div class="post-metadata">

**Author:** ![Ted1](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@Ted1](https://discuss.elastic.co/u/Ted1)\
**Post date:** [August 28, 2020, 2:42pm UTC](https://discuss.elastic.co/t/how-to-pass-parameters-to-a-datavisualisation-through-a-dashboard-url/246767/3 "2020-08-28T14:42:48Z")

</div>

Thanks for your reply Nathan. Too bad...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 25, 2020, 2:43pm UTC](https://discuss.elastic.co/t/how-to-pass-parameters-to-a-datavisualisation-through-a-dashboard-url/246767/4 "2020-09-25T14:43:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
