I have a dashboard in ArcGIS Online with a list element. The list contains an attribute with currency. I'd like the sum of the currency to be included in the List title. Is this possible using arcade and Advanced Formatting?
In the Advanced formatting box I have this as a test:
return {
textColor: '',
backgroundColor: '',
separatorColor:'',
selectionColor: '',
selectionTextColor: '',
attributes: {
sum: 'test'
}
} In the Title box of the list element I have included this: {expression/sum}
However, the value of the sum attribute "test" does not show in the title, it shows "{expression/sum}". In looking at the documentation it seems that this is possible.
I've also tried this but the attribute sum still won't display in the title:
return {
textColor: '',
backgroundColor: '',
separatorColor:'',
selectionColor: '',
selectionTextColor: '',
attributes: {
dollars: '$0'
},
sum: 'test'
}
Any ideas how to reference an attribute from an Arcade expression in the Title of a list element?