Val = ${adxdsDeploymentModels2}
Text = ${adxdsDeploymentModels2:text}
Text = ${adxdsDeploymentModels2:cccc}
Value = ${adxdsDeploymentModels2:value}
Value = ${adxdsDeploymentModels2:Value}
If I use Azure Monitor Data Source CORRECT:
Shows as :
AM
Val = ${amdsDeploymentModels3}
Text = ${amdsDeploymentModels3:text}
Text = ${amdsDeploymentModels3:cccc}
Value = ${amdsDeploymentModels3:value}
Value = ${amdsDeploymentModels3:Value}
However, if I use ADX data source for this, then it doesn't work !
Shows as :
ADX
Val = ${adxdsDeploymentModels3}
Text = ${adxdsDeploymentModels3:text}
Text = ${adxdsDeploymentModels3:cccc}
Value = ${adxdsDeploymentModels3:value}
Value = ${adxdsDeploymentModels3:Value}
What happened:
The ADX Data source here , doesn't extract value from Key/Value pair like other data sources do.
What you expected to happen:
Should work like other mentioned data sources, when data query results returns columns "text","value", these should be returned as key/value pairs.
How to reproduce it (as minimally and precisely as possible):
Go to variables on a dashboard
Select ADX data source for the Query variable
Either make a query against real data or use datatable like this:
let data = datatable(text:string, value:string)
[
"node1","A",
"node2","B",
"node3","C"
];
data
Read variable text and value from any panel. Key/Value pairs can't be extracted. Only the "first" column will be returned always.
I can reproduce this in 9.4.12 and on main. Essentially creating a variable using datatable KQL results in a variable where the key is sent even if you explicitly set ${query0:value} in your query.
I am able to reproduce the following case.
shows up like:
Val =
${adxdsDeploymentModels2}
Text =${adxdsDeploymentModels2:text}
Text =${adxdsDeploymentModels2:cccc}
Value =${adxdsDeploymentModels2:value}
Value =${adxdsDeploymentModels2:Value}
Shows as :
AM
Val =
${amdsDeploymentModels3}
Text =${amdsDeploymentModels3:text}
Text =${amdsDeploymentModels3:cccc}
Value =${amdsDeploymentModels3:value}
Value =${amdsDeploymentModels3:Value}
However, if I use ADX data source for this, then it doesn't work !
Shows as :
ADX
Val =
${adxdsDeploymentModels3}
Text =${adxdsDeploymentModels3:text}
Text =${adxdsDeploymentModels3:cccc}
Value =${adxdsDeploymentModels3:value}
Value =${adxdsDeploymentModels3:Value}
What happened:
The ADX Data source here , doesn't extract value from Key/Value pair like other data sources do.
What you expected to happen:
Should work like other mentioned data sources, when data query results returns columns "text","value", these should be returned as key/value pairs.
How to reproduce it (as minimally and precisely as possible):
Environment: