Complete the code to create a URL action that opens a website when a user clicks a mark.
URL Action: 'https://www.example.com/' || [1]
The URL action should use a field that uniquely identifies the item, such as ProductID, to direct the user to the correct page.
Complete the code to encode the URL parameter correctly for spaces.
URL Action: 'https://www.example.com/search?query=' || [1]
Spaces in URLs must be encoded as %20. The REPLACE function substitutes spaces with %20.
Fix the error in the URL action expression to concatenate base URL and parameter correctly.
URL Action: 'https://www.example.com/product=' [1] [ProductID]
In Tableau, string concatenation uses the || operator, not + or &.
Fill both blanks to create a URL action that opens a Google search for the selected category.
URL Action: 'https://www.google.com/search?q=' || [1] || REPLACE([2], ' ', '+')
The URL action should use the Category field and replace spaces with '+' for Google search queries.
Fill all three blanks to build a URL action that opens a map with the selected city and state.
URL Action: 'https://maps.example.com/?city=' || [1] || ' &state=' || [2] || REPLACE([3], ' ', '%20')
The URL uses City for the city parameter (also encoded for spaces), and State for the state parameter.