on ‎2021 May 05 3:58 AM
How to remove or add measure from table in SAC Analytics designer. For removing measure from charts we have the removemeasure. How can we do that in case of tables
Request clarification before answering.
Hi Saminder,
to remove measure you could try this:
Table.removeDimension(Alias.MeasureDimension); Table.getDataSource().removeDimensionFilter(Alias.MeasureDimension);
to add a particular measure it is a little bit tricky:
Table.addDimensionToColumns(Alias.MeasureDimension); Table.getDataSource().setDimensionFilter(Alias.MeasureDimension,"Id of the measure");
*you could also type ctrl plus space to enable to library, in case you dont know your id of the measure.
hope this helps you out.
Greets,
Chia-Yu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I was wondering if its possible to add multiple measures at the same time, if so how could you do it? Just adding more lines of code with the different measures?
I'm trying this, but I don't see both
Table_Elim01.addDimensionToColumns(Alias.MeasureDimension);
Table_Elim01.getDataSource().setDimensionFilter(Alias.MeasureDimension,"AMOUNT_GC");
Table_Elim01.getDataSource().setDimensionFilter(Alias.MeasureDimension,"ABS_OVERRIDE");
Best,
Beatriz
| User | Count |
|---|---|
| 11 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.