0
0
Power BIbi_tool~10 mins

Dashboard tiles and pinning in Power BI - Interactive Code Practice

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

Complete the code to pin a visual to a dashboard in Power BI.

Power BI
PinVisualToDashboard(visualId, dashboardId, [1])
Drag options to blanks, or click blank then click option'
Anull
Btrue
Cfalse
Dundefined
Attempts:
3 left
💡 Hint
Common Mistakes
Using false or null will not pin the visual.
Leaving the parameter undefined causes an error.
2fill in blank
medium

Complete the code to create a dashboard tile with a title in Power BI.

Power BI
CreateDashboardTile(dashboardId, visualId, { title: [1] })
Drag options to blanks, or click blank then click option'
A'Sales Overview'
Bnull
Ctrue
D123
Attempts:
3 left
💡 Hint
Common Mistakes
Using a number instead of a string for the title.
Using boolean values instead of text.
3fill in blank
hard

Fix the error in the code to unpin a tile from a dashboard.

Power BI
UnpinTileFromDashboard(dashboardId, [1])
Drag options to blanks, or click blank then click option'
AvisualId
BtileName
CtileId
DdashboardName
Attempts:
3 left
💡 Hint
Common Mistakes
Using tileName instead of tileId causes failure.
Using dashboardName or visualId is incorrect here.
4fill in blank
hard

Fill both blanks to filter a dashboard tile by category and date.

Power BI
ApplyFilterToTile(tileId, { category: [1], date: [2] })
Drag options to blanks, or click blank then click option'
A'Electronics'
B'2024-01-01'
C'Furniture'
D'2023-12-31'
Attempts:
3 left
💡 Hint
Common Mistakes
Using dates without quotes causes errors.
Mixing category and date values.
5fill in blank
hard

Fill all three blanks to create and pin a dashboard tile with a title and filter.

Power BI
const tile = CreateDashboardTile(dashboardId, visualId, { title: [1], filter: [2] });
PinVisualToDashboard(visualId, dashboardId, [3]);
Drag options to blanks, or click blank then click option'
A'Monthly Sales'
B{ category: 'Books' }
Ctrue
Dfalse
Attempts:
3 left
💡 Hint
Common Mistakes
Using false instead of true for pinning.
Not using an object for the filter.
Missing quotes around the title.