Convert a text field to a decimal field as an indicator

316
0
05-17-2021 09:36 AM
Labels (1)
JohnnyHarley232
New Contributor III

I have a layer that is being shared in our portal from a different organization that I need to convert a field from a text to a decimal. I just need it to show up as a indicator as a SUM on the Dashboard. This is what I have so far and it is not working.

 

Number($datapoint["sum_PipeLengthActual"])

return {
//textColor:'',
//backgroundColor:'',
//topText: '',
//topTextColor: '',
//topTextOutlineColor: '',
//topTextMaxSize: 'medium',
middleText: $datapoint["sum_PipeLengthActual"],
middleTextColor: '',
middleTextOutlineColor: '',
middleTextMaxSize: 'large',
//bottomText: '',
//bottomTextColor: '',
//bottomTextOutlineColor: '',
//bottomTextMaxSize: 'medium',
//iconName:'',
//iconAlign:'left',
//iconColor:'',
//iconOutlineColor:'',
//noValue:false,
//attributes: {
// attribute1: '',
// attribute2: ''
// }
}

Tags (2)
0 Kudos
0 Replies