Dynamic data driven parameters is done by using 2018.2 features called Dashboard Extensions.
Please find more regarding this from the below link.
Please let me know in case of any issues. Please mark the answer as helpful and correct if it resolves your question.
Thank you Sankar. I should have mentioned on my initial post. These extensions are still in Beta and they are not part of the product yet. My enterprise will not approve anything which is on beta. So, any alternative solution would be really appreciated.
Any help from the legends would be really appreciated.