Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to publish your workbook to Tableau Public.
Tableau
tableauWorkbook.[1]('MyWorkbook.twbx')
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'publish' directly without saving first.
✗ Incorrect
Use save to save your workbook locally before publishing.
2fill in blank
mediumComplete the code to start publishing your workbook to Tableau Public.
Tableau
tableauWorkbook.[1]('TableauPublic')
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'upload' which is not the exact method name.
✗ Incorrect
The publish method uploads your workbook to Tableau Public.
3fill in blank
hardFix 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'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'desc' which is not recognized by the API.
✗ Incorrect
The correct parameter for adding a description is description.
4fill in blank
hardFill 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'
Attempts:
3 left
💡 Hint
Common Mistakes
Setting visibility to 'private' when publishing publicly.
✗ Incorrect
Set visibility to 'public' to share openly and auto_update to True to keep data fresh automatically.
5fill in blank
hardFill 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'
Attempts:
3 left
💡 Hint
Common Mistakes
Using False for show_tabs which hides navigation tabs.
✗ Incorrect
Use 'Public' for the project name, a descriptive string for description, and True to show tabs in the published workbook.