0
0
Power BIbi_tool~20 mins

Bar and column charts in Power BI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Bar and Column Chart Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
visualization
intermediate
2:00remaining
Choosing the Right Chart Type for Comparison

You have sales data for different product categories over several years. You want to compare the total sales of each category side by side for a single year. Which chart type is best suited for this?

AStacked column chart showing sales per category stacked by year
BClustered column chart showing sales per category for the selected year
C100% stacked bar chart showing sales percentage per category across years
DLine chart showing sales trend per category over years
Attempts:
2 left
💡 Hint

Think about showing categories side by side for one year, not trends or percentages.

dax_lod_result
intermediate
2:00remaining
Calculate Total Sales for Selected Year

Given a sales table with columns SalesAmount and Year, which DAX measure correctly calculates total sales for the year 2023?

ATotal Sales 2023 = SUM(Sales[SalesAmount]) WHERE Sales[Year] = 2023
BTotal Sales 2023 = SUMX(FILTER(Sales, Sales[Year] = 2023), Sales[SalesAmount])
CTotal Sales 2023 = CALCULATE(SUM(Sales[SalesAmount]), FILTER(Sales, Sales[Year] = 2023))
DTotal Sales 2023 = CALCULATE(SUM(Sales[SalesAmount]), Sales[Year] = 2023)
Attempts:
2 left
💡 Hint

Remember that CALCULATE needs a filter expression wrapped properly.

data_modeling
advanced
2:00remaining
Optimizing Data Model for Bar Chart Performance

You have a large sales dataset with millions of rows. You want to create a bar chart showing sales by product category. Which data modeling approach improves performance the most?

ACreate a separate dimension table for product categories and relate it to the sales fact table
BDuplicate product category data inside the sales table to avoid joins
CKeep all sales data in one large flat table and create the bar chart directly
DUse calculated columns in the sales table to categorize products on the fly
Attempts:
2 left
💡 Hint

Think about star schema and reducing data duplication.

🔧 Formula Fix
advanced
2:00remaining
Fixing Incorrect Bar Chart Axis Labels

You created a bar chart showing sales by region, but the axis labels show numbers instead of region names. What is the most likely cause?

AThe region field used is a numeric ID instead of the region name
BThe sales measure is not aggregated properly
CThe chart type does not support text labels on the axis
DThe data source is missing region data
Attempts:
2 left
💡 Hint

Check what field is used on the axis.

🧠 Conceptual
expert
2:00remaining
Understanding When to Use Bar vs Column Charts

Which scenario best explains when a horizontal bar chart is more effective than a vertical column chart?

AWhen data values are very small and close to zero
BWhen showing trends over time with continuous dates
CWhen displaying percentages stacked to 100%
DWhen comparing many categories with long names that need to be fully visible
Attempts:
2 left
💡 Hint

Think about label readability and space.