Issues with Variables in dashboards post Grafana upgrade from v11 to v12.0

We are importing dashboard as .json files in grafana and we see variables in dashboards are not taking the prometheus datasource by default, though it was fine in v11, Do we need to explicitly define datasource value in each variable now.. what we are using is shared below:

“templating”: {
“list”: [
{
“allowCustomValue”: false,
“definition”: “label_values(Customer)”,
“label”: “Customer”,
“name”: “customer”,
“options”: ,
“query”: {
“qryType”: 1,
“query”: “label_values(Customer)”,
“refId”: “PrometheusVariableQueryEditor-VariableQuery”
},
“refresh”: 1,
“regex”: “customer1.“,
“type”: “query”
}

Hi @vibsi14
can you explain more about it like:-
Are you importing the dashboard as a .json file from another Grafana dashboard? If yes, make sure the datasource name is exactly the same, since datasource names are case-sensitive.