So I have a couple of option for you...the first one is to use a technique called "sheet popping", and below you can find an excellent video from Joe and Matt
As an alternative, I've also come up with this...
So in the attached, I've created the legend as a sheet (I've used squares, state in the VizLoD [sorted low to high], and index() to get them to line up). As this is a sheet, I can use the "Sheet Swapping" technique so this sheet is also swapped in and out with the map.
Hope these help, and make sense, but let me know if not.
Sheet Swap - Hide Legend.twbx 511.5 KB
Great! Pushing from behind an opaque object did the trick!
1 of 1 people found this helpful
Reviving this old thread because this is where google is taking people - we've come up with an additional workaround but would still encourage everybody to vote here - https://community.tableau.com/ideas/6016#comment-31987 for a real fix.
What we are doing in the attached viz is replacing the legend with a picture of the legend, and then using this with sheet swapping. The reason it works is because each element as a sheet can be controlled by the sheet swap parameter, where you don't have these controls on a normal legend.
To setup the background image, you will need to create a x and y axis with the most complicated calculated field in history;
and then place these on the sheet columns and rows shelf and convert to AVG. Note in the below pic you can see the sheet swap filter on the filters shelf, which controls which view is displayed as the parameters are changed. The picture shows what is displayed after the image has been loaded.
Next onto the images, simply load them by browsing to the file location they are stored, and give them the same axis details as your calculated fields (i.e. 1) as pictured.