You have a fact table named Sales with numeric columns [GrossAmount] and [Discount]. You must create a measure called [StdDev Profit] that returns the sample standard deviation of the per-transaction profit (GrossAmount minus Discount) for the current filter context. Which DAX function should you use in the measure?
The required calculation iterates over each row of the Sales table, evaluates the profit expression (GrossAmount - Discount), and then returns the sample standard deviation of those values. STDEVX.S is the only DAX function that (1) accepts a table plus an expression and (2) returns the sample standard deviation. STDEV.S can return a sample standard deviation, but it only accepts a single column, not an expression. VARX.S iterates an expression but returns variance, not standard deviation. STDEVX.P iterates an expression but returns the population standard deviation, not the sample version.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the difference between STDEVX.S and STDEVX.P in DAX?
Open an interactive chat with Bash
Why does STDEVX.S require both a table and an expression in DAX?
Open an interactive chat with Bash
What is the difference between variance and standard deviation in DAX functions?
Open an interactive chat with Bash
Microsoft Power BI Data Analyst
Model the Data
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .