0
0
Power BIbi_tool~20 mins

Naming conventions in Power BI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Naming Conventions Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Why use consistent naming conventions in Power BI?

Imagine you join a team project with many Power BI reports. Why is it important to use consistent naming conventions for tables, columns, and measures?

AIt helps everyone understand and find data easily, reducing confusion.
BIt makes the report run faster by optimizing queries.
CIt automatically fixes errors in data relationships.
DIt changes the colors of visuals to match company branding.
Attempts:
2 left
💡 Hint

Think about teamwork and clarity when many people work on the same files.

dax_lod_result
intermediate
1:30remaining
What is the result of this measure with proper naming?

Given a table named Sales with columns Sales[Amount] and Sales[Region], what is the result of this measure?

TotalSales = SUM(Sales[Amount])

Assuming the Sales table has these rows:

  • Region: East, Amount: 100
  • Region: West, Amount: 200
  • Region: East, Amount: 150
Power BI
TotalSales = SUM(Sales[Amount])
A350
B150
C450
D200
Attempts:
2 left
💡 Hint

SUM adds all values in the column.

🔧 Formula Fix
advanced
2:00remaining
Identify the naming issue causing this DAX error

This measure returns an error. What is the naming problem?

SalesAmount = SUM(Sale[Amount])

The table is actually named Sales, not Sale.

Power BI
SalesAmount = SUM(Sale[Amount])
AThe table name 'Sale' does not exist; it should be 'Sales'.
BThe column 'Amount' is misspelled; it should be 'Amounts'.
CSUM cannot be used on numeric columns.
DMeasure names cannot contain uppercase letters.
Attempts:
2 left
💡 Hint

Check the exact table names in your data model.

visualization
advanced
1:30remaining
Choose the best naming convention for a measure showing average sales

You want to create a measure that calculates the average sales amount. Which naming convention is best for clarity and consistency?

AMeasure1
Baverage_sales
CsalesAvg
DAvgSalesAmount
Attempts:
2 left
💡 Hint

Think about readability and common naming styles in Power BI.

🎯 Scenario
expert
2:30remaining
How to name calculated columns and measures to avoid confusion in a sales report?

You have a sales report with a table Sales. You create a calculated column for sales tax and a measure for total sales including tax. How should you name them to avoid confusion?

ACalculated column: Amount; Measure: Total
BCalculated column: SalesTaxAmount; Measure: TotalSalesIncludingTax
CCalculated column: Tax; Measure: SalesTotal
DCalculated column: SalesTax; Measure: SalesTax
Attempts:
2 left
💡 Hint

Names should clearly indicate if the item is a column or measure and what it represents.