Bird
0
0

You have two tables: 'Sales' from SQL Server and 'Targets' from Excel. You create a relationship on 'ProductID'. What will happen if you create a measure:

medium📝 Formula Result Q4 of 15
Power BI - Getting Data
You have two tables: 'Sales' from SQL Server and 'Targets' from Excel. You create a relationship on 'ProductID'. What will happen if you create a measure:
Total Sales = SUM(Sales[Amount]) and use it in a report filtered by 'Targets[Year]'?
AThe measure will respect the filter on Targets[Year] and show filtered sales
BThe measure will ignore the filter on Targets[Year] and show total sales
CThe measure will cause an error due to different data sources
DThe measure will only sum sales for products missing in Targets
Step-by-Step Solution
Solution:
  1. Step 1: Understand relationships across data sources

    Power BI relationships work across data sources if modelled correctly, enabling cross-filtering.
  2. Step 2: Analyze measure behavior with filters

    The measure sums Sales[Amount] and respects filters from related tables like Targets[Year].
  3. Final Answer:

    The measure will respect the filter on Targets[Year] and show filtered sales -> Option A
  4. Quick Check:

    Cross-source filter affects measure = True [OK]
Quick Trick: Relationships enable filters across sources [OK]
Common Mistakes:
  • Assuming filters don't work across sources
  • Expecting errors due to multiple sources
  • Thinking measure sums unrelated data

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Power BI Quizzes