Variable not able to populate kafka topic

Hi
I am working with cloudwatch metric for MSK. I need to populated variable with Topic but below query is not working even after giving filters

dimension_values(ap-south-1, AWS/Kafka, MessagesInPerSec, Topic)

dimension_values(ap-south-1, AWS/Kafka, MessagesInPerSec, Topic, {“Broker ID” : “1” , “Cluster Name” : “Kafka”} )

Grafana version : latest grafana/master