SAP Knowledge Base Article - Public

3037631 - Error "value is an unused property" when use getVariableValues in the script in Analytics Application Designer


The error "value is an unused property" occurs when using the getVariableValues keyword in the SAP Analytics Cloud, Analytics Designer Application script.

For example:

var data = Table_1.getDataSource().getVariableValues("dimension")[0].value;


SAP Analytics Cloud

Reproducing the Issue

Use getVariableValues in the script.


Type mismatch.


Change the javascript code as follows:

var data = Table_1.getDataSource().getVariableValues("dimension")[0];
var data1 = cast(Type.SingleVariableValue, data).value;

See Also

Your feedback is important to help us improve our knowledge base.


SAC, SAP Analytics Cloud, Analytics Application Designer, API, Analytics Designer, Analytic Designer, SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Access, Connection, Sac, Connector, Live, Acquisition, Up, Set, setup, Model, BW, Connect, Story, Tenant, Import, Failed, Using, Working, SAML, SSO, sapanalyticscloud, sap analytical cloud, sap analytical cloud, SAC, sap analyst cloud, connected, failure, stopped, sap analyst cloud,, predictive analytics (analysis), data analysis (analytics) tools, analytics tools, sap analytics cloud, data literacy, advanced analytics, data democratization, analytics software, real time analytics, self service analytics, advanced data analytics, analytics as a service, analytics cloud / cloud analytics, saas analytics, cloud bi, enterprise planning, cloud data analytics, cloud based analytics, analytics cloud platform, modern analytics, real time analysis, cloud analytics solution(s), what is sap analytics cloud, cloud analytics tools, analytics in the cloud, cloud analytics software , KBA , LOD-ANA-AD-COR , SAC Application Designer , LOD-ANA-AD , Analytics Designer , How To


SAP Analytics Cloud 1.0