Symptom
You want to know the following regarding setDimensionsFilter.
Can I set the filters of MULTIPLE dimensions at once.
Environment
SAP Analytics Cloud 1.0;
Cause
This is a functional gap.
Resolution
Currently there is no feature to set the filters of multipe dimensions in one sentence from Application Designer.
But you can use several sentences to achieve that as below:
"
Table_1.getDataSource().setDimensionFilter("0BC_CUST", "0HIER_NODE!LOW_PRIO");
Table_1.getDataSource().setDimensionFilter("4FRV82L09HYEETSX0PUD4Y7SV", "4FRV82SOSGK3XGCD6JWPF06IN");
"
If you don't want to refresh after one sentence, you can use “pauserefresh” as below:
"
Table_1.getDataSource().setRefreshPaused(true);
Table_1.getDataSource().setDimensionFilter("0BC_CUST", "0HIER_NODE!LOW_PRIO");
Table_1.getDataSource().setDimensionFilter("4FRV82L09HYEETSX0PUD4Y7SV", "4FRV82SOSGK3XGCD6JWPF06IN");
"
Keywords
KBA , LOD-ANA-AD , Analytics Designer , Problem