I would like to put the name of the list column in a variable and use it in the items() function but didn't get the correct content.
Who can help me ?
What I dit :
- Set variable "Column_Name" (string) to "T_x002d_CCE_x002d_E" - This is the correct name from the column
- Get items from a list
- Apply to each with 'Value' as input
- Set variable "Column_Value" (bolean, same type as column T_x002d_CCE_x002d_E) to items('Apply to each')?['T_x002d_CCE_x002d_E'] and I get the correct value in Column_Value
But if I replace the last action by
Set variable "Column_Value" (bolean, same type as column T_x002d_CCE_x002d_E) to items('Apply to each')?[variables('Column_Name')] and I don't get the correct value
Picture of compose of variable Picture of compose with hardcoded column name T_x.... Picture of compose with items() using variable and output is empty