0
0
Power BIbi_tool~20 mins

Multiple data sources in one report in Power BI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Multiple Data Sources Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Why use multiple data sources in one Power BI report?

Imagine you want to create a sales report that combines data from your online store and your physical store. Why would you use multiple data sources in one Power BI report?

ABecause Power BI cannot handle large datasets from a single source.
BTo combine different types of data that come from separate systems into one report for better insights.
CTo make the report load faster by splitting data into many sources.
DTo avoid using relationships between tables in the data model.
Attempts:
2 left
💡 Hint

Think about why combining data from different places helps you see the full picture.

dax_lod_result
intermediate
2:00remaining
DAX measure combining data from two sources

You have two tables: OnlineSales and StoreSales. Both have a column Amount. You want a measure that sums sales from both sources. Which DAX measure gives the correct total sales?

ATotal Sales = SUM(OnlineSales[Amount]) + SUM(StoreSales[Amount])
BTotal Sales = SUM(OnlineSales[Amount] + StoreSales[Amount])
CTotal Sales = CALCULATE(SUM(OnlineSales[Amount]), StoreSales[Amount])
DTotal Sales = SUMX(OnlineSales, OnlineSales[Amount]) + SUMX(StoreSales, StoreSales[Amount])
Attempts:
2 left
💡 Hint

Think about how to add sums from two separate tables.

visualization
advanced
2:00remaining
Best visualization to compare sales from two sources

You want to show monthly sales from OnlineSales and StoreSales side by side for easy comparison. Which visualization type is best?

APie chart showing total sales from both sources combined.
BLine chart showing cumulative sales over the year from both sources combined.
CClustered column chart showing separate columns for OnlineSales and StoreSales per month.
DStacked column chart showing total sales per month combining both sources stacked.
Attempts:
2 left
💡 Hint

Think about how to compare two categories side by side for each month.

data_modeling
advanced
2:00remaining
Handling relationships with multiple data sources

You have two data sources: OnlineSales and StoreSales. Both have a ProductID column. You also have a Products table. How should you model relationships to analyze sales by product?

ADo not create relationships; use LOOKUPVALUE in measures instead.
BCreate many-to-many relationships between Products and both sales tables on ProductID.
CCreate one-to-one relationships between Products and each sales table on ProductID.
DCreate one-to-many relationships from Products to OnlineSales and Products to StoreSales on ProductID.
Attempts:
2 left
💡 Hint

Think about how product details relate to many sales records.

🔧 Formula Fix
expert
3:00remaining
Why does this combined sales measure show incorrect totals?

You wrote this DAX measure to sum sales from two sources:

Total Sales = SUM(OnlineSales[Amount]) + SUM(StoreSales[Amount])

But the total is double what you expect when filtering by product. What is the likely cause?

AThere is a many-to-many relationship causing double counting between sales tables and Products.
BThe Amount columns contain text values causing incorrect sums.
CThe measure syntax is wrong; SUM cannot be added like this.
DThe report is missing a filter on the date column.
Attempts:
2 left
💡 Hint

Think about how relationships affect filtering and totals.