Pricing changes are coming in January. Contact our Sales team to secure the current price for your desired license.
All documentation
  • API Reference for older versions
  • getReportFiltersAsync

    getReportFiltersAsync(): Promise<Object []>

    [starting from version: 2.9]

    Returns a Promise object that resolves to an array of fields selected for report filters in the slice. See the array’s structure in getReportFilters.

    Example

    pivot.getReportFiltersAsync().then(reportFilters => {
    reportFilters.forEach(
      item => console.log(item);
     );
    });

    /* getReportFiltersAsync method returns array of objects
    [
    {
    "caption": "Country",
    "dimensionCaption": "Country",
    "dimensionUniqueName": "Country",
    "folder": "",
    "label": "Country",
    "sort": "asc",
    "uniqueName": "Country",
    "type": "string"
    },
    // Other fields
    ]
    */

    See an example on JSFiddle.

    See also

    getReportFilters
    getColumnsAsync
    getRowsAsync
    getMeasuresAsync
    getAllMeasuresAsync
    getAllHierarchiesAsync