Fetch selections from holoviews table based on DynamicMap

Hi,
I am having a static datashaded plot overlaid with a dynamic datashaded plot where the dynamic content is based on xy box selection (through BoundsXY). For this I used some dynamic data, see “dyn_data” below:

dyn_data = hv.DynamicMap(select_data, streams=selections)

From the dyn_data I also create a hv.Table which contains items and record counts per item in descending order.

def get_item_list_table(data, id='item_id'):
    val_counts = data.dframe()[uwi].value_counts().sort_values(ascending=False).to_frame('counts').reset_index().rename(columns={'index': id})
    return hv.Table(val_counts)

item_list_table = dyn_data.apply(get_item_list_table)

Next now I want to select a row from the item_list_table and use the identifier ‘id’ from this selection to control other curve plots. I cannot really get to what is the best way to do this. I have tried maing a Selection1D stream as below, but not sure how to apply it and whether it will work with the DynamicMap.

stream_items = hv.streams.Selection1D(source=item_list_table, index=[0])

Any suggestion here?