Your web object can use a parameter in the URL string. And you can pass a value to a parameter in your destination workbook inside your hyperlink string. So I would expect that you could make that URL in your web object change based on what you pass from your first dashboard.
Is this what you meant -
- Create a parameter on "Item Image URL" field
- Pass that parameter in Web Object > Edit URL
<Parameters.Item Image URL>
In the attached I made a web object that calls Google, and it passes the value of the [Category Parameter] to google.
You can have the web object in the receiving workbook do something similar, but you would want to pass the value of (whatever) into the receiving parameter so that the web object there displays the right thing.
Seer the workbook (`10.5) in my follow-up reply. It seems like you know how to pass field and parameter values embedded in a URL, so I won't go into that. So whatever you are using to trigger the hyperlink from Dashboard 1, grab the [Item ID] (or whatever you need to make the new URL in Dashboard 2), and in your dashboard1 hyperlink say
... &ReveivingDashboardParameter=[Item ID] ...
(Your syntax will be specific to your field names and application, of course.)
And in Dashboard 2, for the Web Object, the URL will be something like
The best I can do is guess without actual workbooks to play with.
But it should work.
i will try the same and update you
I tried the method that you have suggested me. It did not work.
I prepared a mock data and created views of dashboard1 and dashboard2 on to Tableau public.
Attaching the working file also.
Can you please help me?
source link -
destination link -
In the attached I changed the IMAGE object to a WEB object.
And I changed the parameter from an integer to a string. The URL was choking on having an integer value embedded in the hyperlink.
So on Dashboard1 right now the web object is displaying the last URL I played with. Set the value to other item numbers, and you'll see the value change.
You can't use an IMAGE object because as far as I can tell, you have to hard-code an actual URL for that. So go with the web object.
Next, on INumber sheet, I built the whole string in a calc, and then I used that calc as the hyperlink value. This makes sure the entire string is formatted correctly.
To allow that hyperlink calc to be visible to the hyperlink action, it has to be in the sheet. I placed it on ROWS after Item Number, and I unchecked "show header" so that it doesn't display to the user. But you can re-display it and see what it looks like if you want. I didn't check the actual hyperlink itself because I would have to re-publish the dashboard. You can test that out. But the key here was to do all the work as strings (even though the [Item Number] field is numeric.)
Let me know how this works for you.
Change [Hyperlink String] calc to this:
+ "?Item%20number%20Parameter=" + STR([Item number])
+ "&Item%20number=" + STR([Item number])
My mistake. We need to pass the value to [Item Number Parameter] to make the image change. And we also want to pass it to [Item Number] to make the sheet display correctly.
Notice also the "%20" embedded in several places. That's the hyperlink notation to create a space. We can't just have a space in there. We have to fill it with %20. (You'll find that in white papers and Tableau Knowledge Base articles about passing values in the URL.)
You don't even have to republish the destination dashboard. That's OK as it is.