Dashboard Mode - Parameter in calculated fields
Business Question
How can we use a parameter to dynamically change the sales target and see which products meet or exceed this target?
How can we use a parameter to dynamically change the sales target and see which products meet or exceed this target?
| Product | Category | Sales |
|---|---|---|
| Chair | Furniture | 250 |
| Desk | Furniture | 450 |
| Pen | Office Supplies | 150 |
| Notebook | Office Supplies | 300 |
| Phone | Technology | 600 |
| Monitor | Technology | 400 |
AVG([Sales])IF [Sales] >= [Sales Target] THEN 'Yes' ELSE 'No' END+----------------------+----------------------+ | KPI Card | Sales Target | | (Average Sales) | (Parameter) | +----------------------+----------------------+ | | | Bar Chart: Sales by Product | | | +----------------------------------------------+ | Table: Product Sales and Target Status | +----------------------------------------------+
The Sales Target parameter lets users change the sales goal number. When the parameter changes:
If you set the Sales Target parameter to 300, which products will show 'Yes' in the 'Meets Target' column?
Answer: Desk (450), Notebook (300), Phone (600), Monitor (400) will show 'Yes'. Chair (250) and Pen (150) will show 'No'.