There are a couple of ways you can do this, one with simple token usage and one with javascript. For the JS, see the 'Table row expansion' example in the Splunk dashboard examples app https://splun...
See more...
There are a couple of ways you can do this, one with simple token usage and one with javascript. For the JS, see the 'Table row expansion' example in the Splunk dashboard examples app https://splunkbase.splunk.com/app/1603 there are some simple examples there. You can also do it something like this with tokens. This example dashboard shows how you can use a token to control what form of C1 looks like. See $tok_row$ usage. <form version="1.1">
<label>test</label>
<init>
<set token="tok_row">0</set>
</init>
<search id="base_data">
<query>
| makeresults count=5
| fields - _time
| streamstats c as row
``` lets say there is one table with 4 columns - C1, C2, C3, C4 and 5 rows - R1, R2, R3, R4, R5.
Consider Column C2 has 1 value in R1, 10 values in R2, 4 values in R3, 5 values in R4, 2 values in R5.```
| eval C1=case(row=1, "Value1",
row=2, split("Value1,Value2,Value3,Value4,Value5,Value6,Value7,Value8,Value9,Value10", ","),
row=3, split("Value1,Value2,Value3,Value4", ","),
row=4, split("Value1,Value2,Value3,Value4,Value5", ","),
row=5, split("Value1,Value2", ","))
| eval C1=mvmap(C1, C1."_R".row)
| foreach 2 3 4 [ eval C<<FIELD>>=random() % 10000 ]
| eval C1_FULL=C1
</query>
</search>
<row>
<panel>
<table>
<search base="base_data">
<query>
| eval C1=if(row=$tok_row$, C1_FULL, mvindex(C1_FULL, 0, 0))
</query>
</search>
<fields>"C1","C2","C3","C4"</fields>
<drilldown>
<eval token="tok_row">if($row.row$=$tok_row$, 0, $row.row$)</eval>
</drilldown>
</table>
</panel>
</row>
</form> Hope this gives you some ideas