0
0
Power BIbi_tool~10 mins

Visual formatting options 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 change the background color of a visual in Power BI.

Power BI
VisualFormat.Background.Color = [1]
Drag options to blanks, or click blank then click option'
A"#FFFFFF"
B"#00FF00"
C"#FF0000"
D"#0000FF"
Attempts:
3 left
💡 Hint
Common Mistakes
Using color names instead of hex codes.
Forgetting to put quotes around the color code.
2fill in blank
medium

Complete the code to set the font size of a visual's title in Power BI.

Power BI
VisualFormat.Title.TextSize = [1]
Drag options to blanks, or click blank then click option'
A22
B10
C14
D18
Attempts:
3 left
💡 Hint
Common Mistakes
Using font size too small to read.
Using font size too large causing clutter.
3fill in blank
hard

Fix the error in the code to set the data label color in Power BI.

Power BI
VisualFormat.DataLabels.Color = [1]
Drag options to blanks, or click blank then click option'
A"#FF0000"
B"Red"
CFF0000
DRed
Attempts:
3 left
💡 Hint
Common Mistakes
Using color names without quotes.
Using hex codes without quotes or missing '#'.
4fill in blank
hard

Fill both blanks to set the border style and thickness of a visual in Power BI.

Power BI
VisualFormat.Border.Style = [1]
VisualFormat.Border.Thickness = [2]
Drag options to blanks, or click blank then click option'
A"Solid"
B"Dashed"
C2
D4
Attempts:
3 left
💡 Hint
Common Mistakes
Using numbers for style instead of strings.
Setting thickness too high causing visual clutter.
5fill in blank
hard

Fill all three blanks to set the font family, font color, and font weight of a visual's axis labels in Power BI.

Power BI
VisualFormat.AxisLabels.FontFamily = [1]
VisualFormat.AxisLabels.Color = [2]
VisualFormat.AxisLabels.FontWeight = [3]
Drag options to blanks, or click blank then click option'
A"Arial"
B"#000000"
C"Bold"
D"Times New Roman"
Attempts:
3 left
💡 Hint
Common Mistakes
Using font weight as a number instead of string.
Using color names instead of hex codes.