0
0
Tableaubi_tool~10 mins

Adding sheets to dashboard in Tableau - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to add a worksheet named 'Sales' to the dashboard.

Tableau
dashboard = tableau.Dashboard()
dashboard.[1]('Sales')
Drag options to blanks, or click blank then click option'
Ainsert_sheet
Binclude_sheet
Cappend_sheet
Dadd_sheet
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'insert_sheet' which is not a valid Tableau method.
Using 'append_sheet' which is not recognized in Tableau API.
2fill in blank
medium

Complete the code to set the position of the sheet on the dashboard.

Tableau
dashboard.add_sheet('Profit')
dashboard.sheets['Profit'].[1] = (10, 20)
Drag options to blanks, or click blank then click option'
Acoordinates
Bposition
Clocation
Dplacement
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'location' which is not the correct property name.
Using 'coordinates' which is not a valid property.
3fill in blank
hard

Fix the error in the code to add multiple sheets to the dashboard.

Tableau
for sheet in ['Sales', 'Profit', 'Expenses']:
    dashboard.[1](sheet)
Drag options to blanks, or click blank then click option'
Aadd_sheet
Binsert_sheet
Cappend_sheet
DaddSheets
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'addSheets' which is not a valid method.
Using 'append_sheet' which does not exist.
4fill in blank
hard

Fill both blanks to set the size and position of a sheet on the dashboard.

Tableau
sheet = dashboard.sheets['Expenses']
sheet.[1] = (300, 200)
sheet.[2] = (50, 100)
Drag options to blanks, or click blank then click option'
Asize
Bposition
Clocation
Ddimensions
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing 'location' with 'position'.
Using 'dimensions' which is not a valid property.
5fill in blank
hard

Fill all three blanks to add a sheet, set its size, and position it on the dashboard.

Tableau
dashboard.[1]('Revenue')
sheet = dashboard.sheets['Revenue']
sheet.[2] = (400, 300)
sheet.[3] = (20, 40)
Drag options to blanks, or click blank then click option'
Aadd_sheet
Bsize
Cposition
Dinsert_sheet
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'insert_sheet' instead of 'add_sheet'.
Mixing up 'size' and 'position' properties.