Challenges
Dynamic Measure Selection
advanced+150 XP
1 day
Concept:SWITCH with Parameter
Objective
Build a dynamic measure that returns [Total Revenue] if selected parameter is 'Revenue', [Total Quantity] if 'Quantity', else [Total Cost].
Required Functions:
SWITCH()Power BI Visual Simulation
Filter Context:
📅 Year = 2025🌍 Country = All🏷️ Segment = AllDynamic Measure Selection
— — —
Awaiting valid DAX formula check
Guided Hints
0 of 1 revealedfx
[fx]Selected Metric=
Loading DAX Formula Studio...
Ctrl+Enter Check•Ctrl+Shift+F Format•Type [ for fields
Model
[fx]Total Revenue
[fx]Total Cost
[fx]Total Profit
[fx]Profit Margin %
[fx]Total Quantity
[fx]Total Orders
[fx]Customer Count
[fx]Average Order Value
[fx]Previous Year Revenue
[fx]YoY Revenue Growth %
🔑SaleID
📅Date
🔑CustomerID
🔑ProductID
∑Quantity
∑Revenue
∑Cost
🔑CustomerID
AaCustomerName
AaCountry
AaSegment
Click field to copy syntaxDAX Active