Dashboard Mode - Parameter controls
Business Question
How can we use a parameter control to dynamically change the sales target and see which products meet or exceed this target?
How can we use a parameter control 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 |
+----------------------+-----------------------+ | KPI Card | Parameter Control | | Total Sales: 2150 | Sales Target Slider | +----------------------+-----------------------+ | Bar Chart: Sales by Product | | (Colored bars showing if sales meet target) | +------------------------------------------------+ | Table: Product Sales and Target Status | +------------------------------------------------+
The Sales Target parameter control lets the user pick a sales target number.
The Meets Target calculated field uses this parameter to check each product's sales.
The Bar Chart colors bars green or red based on whether sales meet the target.
The Table updates to show which products meet or do not meet the selected sales target.
If you change the Sales Target parameter to 500, which products will show as meeting the target?
Answer: Only Phone with sales 600 meets the target; others show 'No'.