Select to view content in your preferred language

Transfer Configuration to the filtered element

165
0
11-05-2025 02:33 PM
Status: Open
FardoshtAmirpanahiEzeeFiber
Emerging Contributor

When a list is selected, its action could filter an indicator. Corrently, the developer could select Reference and/or Value. These two options get the Reference and the Value from the list. What if there is an advanced formatting like below, if there was another option to also transfer the formatting of the list, it saves the developer to create the same formatting for the indicator

var units = $datapoint.B25002_002E
var color = IIf(units > 3000000, '#b30000', '')

return {
  textColor: color,
  backgroundColor: '',
  separatorColor:'',
  selectionColor: '',
  selectionTextColor: '',
  // attributes: {
    // attribute1: '',
    // attribute2: ''
  // }
}