For a Gauge Chart, can the minimun and maximum range be a variable instead of a hard coded number? I am trying to show how many addresses don't have the country value. My minimum can be 0 but the maximum = total number of records in the address table. Is there a way to do that?
Best Answer
B
Bharat Joshi
said
8 months ago
Hi Hitesh,
It is not possible to add variable in the range however you can add target goal to which the chart value is compared
The minimum and maximum range expects a numeric value and consider model variable as string. Setting up dynamic range using variables are currently not supported.
If you may try to put below statement:
COUNT(Address) OVER() as "TotalRecords"
in chart query and change chart type from Gauge to Pivot/Bar/Column chart , it will help you to distinguish between the actual number of addresses vs. total number of records present.
Let me know if that helps.
B
Bharat Joshi
said
8 months ago
Answer
Hi Hitesh,
It is not possible to add variable in the range however you can add target goal to which the chart value is compared
Hitesh Pau
For a Gauge Chart, can the minimun and maximum range be a variable instead of a hard coded number? I am trying to show how many addresses don't have the country value. My minimum can be 0 but the maximum = total number of records in the address table. Is there a way to do that?
Hi Hitesh,
It is not possible to add variable in the range however you can add target goal to which the chart value is compared
- Oldest First
- Popular
- Newest First
Sorted by Newest FirstAmbuj Srivastava
Hi Hitesh,
The minimum and maximum range expects a numeric value and consider model variable as string. Setting up dynamic range using variables are currently not supported.
If you may try to put below statement:
COUNT(Address) OVER() as "TotalRecords"
in chart query and change chart type from Gauge to Pivot/Bar/Column chart , it will help you to distinguish between the actual number of addresses vs. total number of records present.
Let me know if that helps.
Bharat Joshi
Hi Hitesh,
It is not possible to add variable in the range however you can add target goal to which the chart value is compared
-
4 levels treemap in Dashboard Builder
-
If the data preview can see the data, why can't the chart preview get the data?
-
How to setup multiple roles for a Dashboard?
-
Can Snowflake Be Used a Data Source for Semarchy Dashboards?
-
Is it possible to make a master-detail relation between two charts ?
-
Dashboards disappeared during migration of Semarchy database to RDS
-
The Data Location Variable (V_DATALOCATION) Doesn't Appear to Work in Dashboard
-
Set a default width for columns in pivot tables in the dashboards
-
Migrating a Dashboard to Production
-
xDM - Dashboard Advice
See all 16 topics