Skip to main content
Mike Moss が「#Tableau Server」で質問

I have a dashboard that uses viz-in-tooltips, it works fine on Tableau Desktop but not on Tableau Server, where instead of rendering the viz in the tooltip, it just shows the code.

 

The tooltip works via a parameter - the user sets what details they want to see in the tooltip, and then that parameter is used in a calculated field to load the correct sheet (there's more than one sheet involved).

 

Here's the code for the table calc:

CASE [Tooltip Detail Selector]

 

WHEN '1' THEN

'<Sheet name="Nationality Tooltip Conversion 2" maxwidth="600" maxheight="400" filter="<All Fields>">'

 

WHEN '2' THEN

'<Sheet name="Study Area Tooltip Conversion 2" maxwidth="600" maxheight="400" filter="<All Fields>">'

 

WHEN '3' THEN

'<Sheet name="Study Level Tooltip Conversion 2" maxwidth="600" maxheight="400" filter="<All Fields>">'

 

END

Here's what the error looks like, it works fine in desktop:

Why don't my dynamic viz-in-tooltips render correctly on Tableau Server? 

But then on server, I just see the code of the calculation:Renders just the code in Tableau Server 

Thanks in advance for any help,

 

Mike.

11 件の回答
  1. 2023年3月16日 11:44

    In case someone else discovers this thread, I believe I found the issue - for some reason, the dashboard won't render the viz in tooltip unless there's an action filter set up on the dashboard going to that sheet.

     

    Even though the sheet doesn't need any filtering, and the code for the viz-in-tooltip was edited to remove the reference to filters, adding in the dashboard action to filter all fields made it work on Tableau Server.

0/9000