on ‎2022 Oct 13 10:54 AM
Hello,
I have the following table in sac analytic application with just 1 cell, all the filter applied are shown in the screenshot.

I am trying to fetch the data from the data cell to a text box using script.
I tried but doesn't work
var value = Table_1.getDataSource().getData({"@MeasureDimension": "[% Prev Infl]"}).formattedValue;
Text_2.applyText(value);
Can you help me to correct the script to access the cell data
Also if there is a way to access cell value using row column index in getDataSource().getData() kindly let me know
Thank You
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Try to verify whether your selection is correct. You can do this by logging the output of Table_1.getSelections() from the on select handler of the table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
rijin_baby
See: https://blogs.sap.com/2020/02/10/debugging-sac-analytic-designer-applications/
on the use of console.log()
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.