0
0
Power BIbi_tool~20 mins

Visual formatting options in Power BI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Visual Formatting Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
visualization
intermediate
2:00remaining
Identify the effect of conditional formatting on a table visual

You have a table visual showing sales data by region. You apply conditional formatting to the 'Sales Amount' column to color cells red if sales are below 1000 and green if above 5000.

What will be the visual result for a region with sales of 3000?

AThe sales amount cell will have no color formatting applied.
BThe entire row will be colored green.
CThe sales amount cell will be colored green.
DThe sales amount cell will be colored red.
Attempts:
2 left
💡 Hint

Think about the conditional formatting rules and the sales value 3000.

dax_lod_result
intermediate
2:00remaining
Calculate average sales with formatting for display

Given a measure Average Sales = AVERAGE(Sales[Amount]), you want to display it with two decimal places and a dollar sign in a card visual.

Which DAX expression correctly formats the measure for display?

AFormatted Average Sales = FORMAT([Average Sales], "$#,##0.00")
BFormatted Average Sales = ROUND([Average Sales], 2)
CFormatted Average Sales = CONCATENATE("$", [Average Sales])
DFormatted Average Sales = FORMAT([Average Sales], "0.00")
Attempts:
2 left
💡 Hint

Consider which function formats numbers as currency with decimals.

data_modeling
advanced
2:00remaining
Best practice for formatting date columns in visuals

You have a date column in your data model. You want to show the month and year (e.g., 'Jan 2024') in a bar chart axis.

Which approach is best for formatting the date in the visual?

AUse the original date column and set the visual's axis type to categorical with a custom format string 'MMM yyyy'.
BChange the column data type to text with values like 'Jan 2024' in the source data.
CCreate a measure that returns the formatted date string and use it in the axis.
DCreate a calculated column using FORMAT(Date[Date], "MMM yyyy") and use it in the axis.
Attempts:
2 left
💡 Hint

Think about how Power BI handles axis fields and formatting.

🎯 Scenario
advanced
2:00remaining
Applying consistent color themes across multiple visuals

You want all your bar charts in a report to use the same custom color palette for categories to maintain brand consistency.

What is the best way to apply this color scheme across all visuals?

AManually set the data colors for each bar chart visual individually.
BCreate and import a custom report theme JSON file defining the color palette.
CUse conditional formatting on one visual and copy the visual to reuse colors.
DSet the default color in Power BI Desktop options under 'Data Colors'.
Attempts:
2 left
💡 Hint

Consider how to apply colors consistently and easily across many visuals.

🔧 Formula Fix
expert
2:00remaining
Troubleshoot why conditional formatting is not applying

You applied conditional formatting to a matrix visual's 'Profit' column to show green for positive and red for negative values. However, the colors do not appear.

Which is the most likely reason?

AThe matrix visual has 'Values' set to 'Don't summarize' which disables formatting.
BThe conditional formatting rule is set on the field well but the visual is set to 'Show as table' mode.
CThe conditional formatting is set on the wrong field or measure in the formatting pane.
DThe 'Profit' column is a measure, and conditional formatting only works on columns.
Attempts:
2 left
💡 Hint

Check where the formatting rule is applied in the visual's settings.