Changing Measures In The Entire Dashboard Using Blox User Interface
Updated 09-12-2024
Astroraf please check the following:
1. The script is applied to the Indicator and "var widgetIndicator = '5f1b462e336d9c242cb9e8ea'" is updated accordingly with the widget id.
2. If your values in the Blox widget are titled as "Revenue", "Cost" and "Quantity", please substitute it in the script accordingly. Please refer to the following lines:
if(widget.metadata.panels[0].items[0].jaql.title == 'Total Revenue'){
else if (widget.metadata.panels[0].items[0].jaql.title == 'Total Cost')
3. Make sure the order of values in the Blox widget is exactly the same as you defined in Blox buttons:
Please let me know if that helps!
Best,
Lily