What is the main purpose of using parameters in Power BI reports?
Think about how parameters help users interact with reports without changing the underlying data.
Parameters let report users input or select values that control filters or calculations dynamically, making reports flexible and interactive.
Given a parameter named SalesThreshold with value 10000, what is the result of this DAX measure?
High Sales Count = CALCULATE(COUNTROWS(Sales), Sales[Amount] > SalesThreshold)
Assuming the Sales table has 3 rows with Amounts: 8000, 12000, 15000.
Count rows where Amount is greater than 10000.
Only the rows with 12000 and 15000 are greater than 10000, so count is 2.
You want to create a dynamic report title that changes based on a parameter SelectedYear. Which approach correctly uses the parameter in a DAX measure for the title?
Remember to convert numeric parameters to text before concatenation.
Using FORMAT converts the numeric parameter to text, allowing safe concatenation with strings.
You want to filter a table in Power Query based on a parameter RegionParam. Which M code snippet correctly applies this filter?
Check the syntax for filtering rows where the column equals the parameter.
The correct syntax uses each [Column] = Parameter to filter rows matching the parameter value.
Consider this DAX measure using a parameter DiscountRate:
Final Price = SUM(Sales[Price]) * (1 - DiscountRate)
When running the report, the measure returns an error. What is the most likely cause?
Parameters in DAX measures often need to be wrapped to get their current value.
Parameters are not automatically scalar values in DAX; you often need SELECTEDVALUE or similar to retrieve their value.