How to dynamically filter using label

I’ve a query(jp_raw_pricing_scrape_count_count) which returns the above data,
The data consist of count and update_date column.

I want to get the count of a particular date.

Example jp_raw_pricing_scrape_count_count(count_of_2nd_last_column).

There can be gaps in days, so I want to query using top column count and 2nd column count.

I can’t find a dynamic way of doing it, as of now I can filter using label by selecting a options which grafana dashboard is providing


Looking for something similar in a dynamic way.