Hi there, and welcome to my first-ever blog post on my website!
In this quick tutorial, I’ll walk you through how I built a login page for my latest business dashboard: the Sample Superstore Dashboard.
It might look fancy at first glance, but trust me, creating a login page in Tableau is way easier than it seems. I’ll break everything down step by step so you can build one yourself.
Let’s dive in!
The first step is to design the layout of the login page—where the logo, background, and login section will be.
Technically, you could do this in Tableau, but it’s much easier to design it using an external tool like Figma, PowerPoint, or Canva.
For mine, I used Figma to build everything from scratch—the logo, the background, and the login section.
Here’s what the login page looks like initially:
You’ll notice the login button is greyed out. That’s on purpose! The button only becomes active when the user enters the correct password.
Don't worry—I’ll show you how to set this up too!
Once your design is ready, we can move on to the next part.
This is probably the most important part of the entire process. The login parameter allows users to type in a password and also controls whether the blue login button is shown or hidden (using Dynamic Zone Visibility).
Here’s how the parameter looks:
Make sure to set a default value in the “Value when workbook opens” section—this is what users will see when they first open the dashboard. In my case, I used a calculated field called Log in default text to display the text:
"Type in your password."
Next, you’ll need a calculated field to control the visibility of the blue login button (which is just a navigation button that takes users to the main dashboard). Let us call it Hide Log in.
The logic is super simple: check if the entered password matches the correct one, and return either TRUE or FALSE.
Here’s what the calculation looks like:
[Login Parameter] = "Tableau2025"
If the user types in “Tableau2025”, it returns TRUE, which makes the login button visible. Otherwise, it returns FALSE.
Now let’s create some feedback for incorrect logins.
When users enter anything other than “Tableau2025” or the default message, we want to display: "Incorrect password! Try again"
You can control this by setting up a calculated field called Log in text that checks the login parameter value and only displays the error message when needed:
IF [Log in param] = 'Tableau2025' OR [Log in param] = 'Type in your password'
THEN ''
ELSE 'Incorrect password! Try again'
END
Also, since this is just a demo, we can give users a little hint. I used a blank sheet with a tooltip to do this—you can get creative with how you display it!
Now, for the final part, we are putting everything into one clean, functional login page:
For the navigation button, don't forget to use Dynamic Zone Visibility to control when the login button appears. Just check the box that says “Control visibility using value” and set the value to "Hide Login".
Here’s what that setup looks like:
And that’s it! You now have a working login screen built entirely inside Tableau.
Thanks for checking out my first blog/tutorial—I hope it was helpful!
Feel free to watch the video below to see how everything works together in action.