Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

Tableau JS api getdata

        function getUnderlyingData() {
            sheet = viz.getWorkbook().getActiveSheet().getWorksheets().get("By Weekly");
            // If the active sheet is not a dashboard, then you can just enter:
            // viz.getWorkbook().getActiveSheet();
            options = {
                maxRows: 10, // Max rows to return. Use 0 to return all rows
                ignoreAliases: false,
                ignoreSelection: true,
                includeAllColumns: false
            };

            sheet.getSummaryDataAsync(options).then(function(t) {
                table = t;
                var tgt = document.getElementById("dataTarget");
                tgt.innerHTML = "<h4>Underlying Data:</h4><p>" + JSON.stringify(table.getData()) + "</p>";
            });
        }
Comment

PREVIOUS NEXT
Code Example
Javascript :: function for making something invisible in gdscript 
Javascript :: @material-ui/core/Field 
Javascript :: string to number javascript shortcut 
Javascript :: making a react js website project ready for hosting 
Javascript :: compile regex script help online 
Javascript :: trigger many calls JavaScript 
Javascript :: how to get node modules 
Javascript :: find invalid json files in directory 
Javascript :: how to add multiple quill rich text editor 
Javascript :: react native asyncstorage getitem 
Javascript :: resource route or crud routs 
Javascript :: load mulitple elements in route v6 
Javascript :: to see all function attribute and methods in javascript 
Javascript :: angular interpolation check if value is null 
Javascript :: check stored jwt expiration 
Javascript :: js dom after selectors 
Javascript :: how to get 4 columns with masonryjs 
Javascript :: typeorm sqlite Using Entity Manager 
Javascript :: react app environment variables undefined even when starts with REACT_APP_ 
Javascript :: promtail +verbose 
Javascript :: Quitar objetos duplicados 
Javascript :: Example of Logical OR assignment operator in es12 
Javascript :: How to get element margin in React 
Javascript :: Imports should be sorted alphabetically sort-imports 
Javascript :: GitHub Personal Access Token is not set, neither programmatically, nor using env "GH_TOKEN" electronjs 
Javascript :: Show / Hide Div On Radio Button Click angular 
Javascript :: react redux open another page 
Javascript :: how i change background of row in javascript jquery 
Javascript :: Javascript - The file size is measured in bytes 
Javascript :: jquery maximum value of an element by class 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =