cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to add and remove measure in table using sac script

thayumanavan
Participant

Accepted Solutions (0)

Answers (1)

Answers (1)

KannanR
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi thayu,

In that best practice the model used was "BestRun_Advanced" which is a classic account-based model. I was able to follow the best practice and all scripts worked as expected including the set selected measures.

I think you are using a different model than the one used in the best practice and not sure how you have edited you code accordingly. As you have not shared your code or details about the model it would be hard for anyone to help you.

If you are learning from the best practice, I suggest you use the same model. The "BestRun_Advanced" and several analytic applications can be found in the SAC samples. You can go to Content Network -> Samples and then find and import them from the package "Analytics Designer".

Simtcha
Advisor
Advisor
Hello all, not sure if this solves the problem, as was already mentioned the code is not pasted here but what helped me was that wherever there is ""Account_BestRunJ_sold" like for example here: Table.getDataSource().setDimensionFilter("Account_BestRunJ_sold",selectedIds); replace the "Account_BestRunJ_sold" with Alias.MeasureDimension (without any quotations)