Bird
Raised Fist0
Tableaubi_tool~10 mins

Publishing to Tableau Public - Interactive Code Practice

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to publish your workbook to Tableau Public.

Tableau
tableauWorkbook.[1]('MyWorkbook.twbx')
Drag options to blanks, or click blank then click option'
Aexport
Bpublish
Csave
Dupload
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'publish' directly without saving first.
2fill in blank
medium

Complete the code to start publishing your workbook to Tableau Public.

Tableau
tableauWorkbook.[1]('TableauPublic')
Drag options to blanks, or click blank then click option'
Ashare
Bpublish
Cupload
Dsend
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'upload' which is not the exact method name.
3fill in blank
hard

Fix the error in the code to publish with a description.

Tableau
tableauWorkbook.publish(project='Public', [1]='Sales Dashboard')
Drag options to blanks, or click blank then click option'
Adescription
Bdesc
Cdetails
Dinfo
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'desc' which is not recognized by the API.
4fill in blank
hard

Fill both blanks to set the workbook visibility and enable automatic updates.

Tableau
tableauWorkbook.publish(visibility=[1], auto_update=[2])
Drag options to blanks, or click blank then click option'
A'public'
BTrue
CFalse
D'private'
Attempts:
3 left
💡 Hint
Common Mistakes
Setting visibility to 'private' when publishing publicly.
5fill in blank
hard

Fill all three blanks to publish with project, description, and show tabs enabled.

Tableau
tableauWorkbook.publish(project=[1], description=[2], show_tabs=[3])
Drag options to blanks, or click blank then click option'
A'Public'
B'Monthly Sales Report'
CTrue
DFalse
Attempts:
3 left
💡 Hint
Common Mistakes
Using False for show_tabs which hides navigation tabs.

Practice

(1/5)
1. What is the main purpose of publishing a dashboard to Tableau Public?
easy
A. To create backups of your dashboards on your local computer
B. To share your dashboards online for free and make them visible to everyone
C. To export dashboards as PDF files for offline use
D. To keep your dashboards private and only accessible to you

Solution

  1. Step 1: Understand Tableau Public's sharing feature

    Tableau Public allows users to share dashboards online for free, making them accessible to anyone with internet access.
  2. Step 2: Compare options with this feature

    Options A, B, and C describe private use, exporting, or backups, which are not the main purpose of Tableau Public.
  3. Final Answer:

    To share your dashboards online for free and make them visible to everyone -> Option B
  4. Quick Check:

    Publishing to Tableau Public = Free public sharing [OK]
Hint: Remember: Tableau Public dashboards are always visible to all [OK]
Common Mistakes:
  • Thinking Tableau Public keeps dashboards private
  • Confusing publishing with exporting files
  • Assuming publishing creates local backups
2. Which of the following is the correct first step to publish a workbook to Tableau Public?
easy
A. Sign in to your Tableau Public account within Tableau Desktop
B. Export the workbook as a PDF file
C. Save the workbook on your local computer without signing in
D. Create a new Tableau Server project

Solution

  1. Step 1: Identify the publishing process

    Publishing to Tableau Public requires signing in to your Tableau Public account inside Tableau Desktop.
  2. Step 2: Eliminate incorrect options

    Exporting as PDF, saving locally without signing in, or creating Tableau Server projects are unrelated to publishing on Tableau Public.
  3. Final Answer:

    Sign in to your Tableau Public account within Tableau Desktop -> Option A
  4. Quick Check:

    Sign in first to publish [OK]
Hint: Always sign in to Tableau Public before publishing [OK]
Common Mistakes:
  • Trying to publish without signing in
  • Confusing Tableau Public with Tableau Server
  • Exporting instead of publishing
3. After signing in and naming your workbook, what happens when you click Save to Tableau Public?
medium
A. Your workbook is saved locally but not shared online
B. Your workbook is saved privately and only you can access it
C. Your workbook is emailed to your Tableau Public contacts
D. Your workbook is uploaded and becomes publicly visible on Tableau Public

Solution

  1. Step 1: Understand the save action in Tableau Public

    Clicking 'Save to Tableau Public' uploads your workbook to the Tableau Public website, making it publicly accessible.
  2. Step 2: Review other options

    Options A, C, and D describe local saving, emailing, or private saving, which do not happen when publishing to Tableau Public.
  3. Final Answer:

    Your workbook is uploaded and becomes publicly visible on Tableau Public -> Option D
  4. Quick Check:

    Save to Tableau Public = Upload and public visibility [OK]
Hint: Save to Tableau Public means upload and share publicly [OK]
Common Mistakes:
  • Assuming saving only stores locally
  • Thinking the workbook is emailed automatically
  • Believing the workbook remains private
4. You tried to publish your workbook to Tableau Public but received an error saying you are not signed in. What should you do to fix this?
medium
A. Export the workbook as an image instead
B. Restart your computer and try publishing without signing in
C. Sign in to your Tableau Public account inside Tableau Desktop and try publishing again
D. Delete the workbook and create a new one

Solution

  1. Step 1: Identify the cause of the error

    The error indicates you are not signed in, which is required to publish to Tableau Public.
  2. Step 2: Correct the issue by signing in

    Signing in inside Tableau Desktop allows you to authenticate and publish your workbook successfully.
  3. Final Answer:

    Sign in to your Tableau Public account inside Tableau Desktop and try publishing again -> Option C
  4. Quick Check:

    Sign in to fix publishing errors [OK]
Hint: Always sign in before publishing to avoid errors [OK]
Common Mistakes:
  • Ignoring the sign-in requirement
  • Restarting without signing in
  • Trying unrelated export options
5. You want to publish a dashboard to Tableau Public but keep some data private. Which approach is best?
hard
A. Remove or anonymize sensitive data before publishing the workbook
B. Publish normally and trust Tableau Public to hide private data
C. Publish the workbook and then delete it immediately
D. Publish the workbook but set a password to restrict access

Solution

  1. Step 1: Understand Tableau Public's privacy model

    Tableau Public makes all published content visible to everyone; it does not support private or password-protected workbooks.
  2. Step 2: Choose a method to protect sensitive data

    Removing or anonymizing sensitive data before publishing ensures private information is not exposed.
  3. Final Answer:

    Remove or anonymize sensitive data before publishing the workbook -> Option A
  4. Quick Check:

    Protect privacy by cleaning data before publishing [OK]
Hint: Clean sensitive data before publishing to keep it private [OK]
Common Mistakes:
  • Assuming Tableau Public hides private data automatically
  • Trying to password-protect Tableau Public workbooks
  • Publishing then deleting to hide data