Skip to main content

Hello All,

 

On if my filters has value "N/A" and I want to pass it in the URL when a dashboard is opened. We are also using JS API to embed dashboards and our Tableau Server Version is 2019.3.1

 

I have tried many things but the filter does not load with N/A applied. I have checked the tableau kb article https://kb.tableau.com/articles/issue/special-characters-in-url-parameters  and tried but it does not work.

 

Passing N/A in the url

%26Operator%3DWolverine%26State%3DUtah%26First%5c%20Production%5c%20Year%3DN%5C%2FA

&Operator=Wolverine&State=Utah&First%5c%20Production%5c%20Year=N%5C%2FA

&Operator=Wolverine&State=Utah&First+Production+Year=N%5C%2FA

&Operator=Wolverine&State=Utah&First+Production+Year=N%2FA

 

I have also tried to pass the value in JS like below

 

      tableauViz = new tableau.Viz(frameDiv[0], url, {

        highdpi: true,

        hideTabs: true,

        hideToolbar: true,

        "Operator": "Wolverine",

        "First Production Year": "N/A",

      });

 

But none of the above work, has anyone encountered such issue? Any help in this would be greatly appreciated.

2 Antworten
  1. 19. Nov. 2019, 09:21

    Hello Daniel Stanish,

     

    Many thanks for your reply and apologies for my late reply.

     

    the field "First Production Year" is a calculated field and does not have NULL. We also did some tests and see that when the field is set to NA or NA/ or [N/A] the filtering works.

     

    But when we set it back to N/A it does not work.

     

    Thanks.

0/9000