filter action stops working if dashboard has dependent filters on it

Comments

6 comments

  • Avatar
    Salma Cherif

    Hello, 

    I am having the same issue, did you manage to find a solution for this

    Thanks 

    0
    Comment actions Permalink
  • Avatar
    Andrea Russo

    No.  I created a ticket that hasn't been resolved yet.

    0
    Comment actions Permalink
  • Avatar
    Andrea Russo

    I heard back and it was determined that using a dimension on the filters makes the buttons work even if there are dependent filters on the dashboard.

    0
    Comment actions Permalink
  • Avatar
    David Hertzberg

    Hi,

    I am having the same issue. What do you mean by "using a dimension on the filters" ? We are filtering like this :

    "actions": [
    {
    "type": "Filters",
    "title": "View",
    "data": {
    "filters": [
    {
    "filterName": "Product ID",
    "filterJaql": {
    "explicit": true,
    "members": [
    "{value:Product ID}"
    ]
    }
    }
    ]
    }
    }
    ]
     
    We have a carousel on the widget, and the user select one product in the list and filters the dashboard on this product.
     
    Thanks for your help.
     
    Best, David.
    0
    Comment actions Permalink
  • Avatar
    Andrea Russo

    For the Data section I had to do something like below.  I think yours might be less lines, if it is not a date.

    "data": {
    "filters": [
    {
    "dim": {
    "title": "MyFilter",
    "dim": "[Renewals.DownloadDate (Calendar)]",
    "datatype": "datetime",
    "level": "days",
    "table": "Renewals",
    "column": "DownloadDate"
    },
    "filterJaql": {
    "explicit": false,
    "multiSelection": true,
    "all": true
    }
    }
    ]
    }
     

     

    0
    Comment actions Permalink
  • Avatar
    David Hertzberg

    Many thanks Andrea, that works just fine ! And I will keep your code as Date are always trickier than regular dimensions !

    Best, David.

    0
    Comment actions Permalink

Please sign in to leave a comment.