Dashboard Mode - Trim and clean text
Dashboard Goal
Show how to clean and trim customer names to remove extra spaces and unwanted characters for accurate reporting.
Show how to clean and trim customer names to remove extra spaces and unwanted characters for accurate reporting.
| Customer ID | Raw Customer Name | Sales Amount |
|---|---|---|
| 1 | Alice Smith | 250 |
| 2 | Bob Jones | 300 |
| 3 | Charlie Brown | 150 |
| 4 | David O'Connor | 400 |
| 5 | Eve Adams | 350 |
| 6 | Frank Miller | 200 |
Total Sales = SUM('SalesData'[Sales Amount])Clean Customer Name = TRIM('SalesData'[Raw Customer Name])+----------------------+-----------------------+ | Total Sales | Sales by Customer | | (KPI Card) | (Bar Chart) | +----------------------+-----------------------+ | Cleaned Customer Names Table | +-------------------------------------------------+
Clicking a customer name in the table or bar chart highlights that customer's sales and updates the Total Sales KPI to show only selected customer sales.
Filters can be applied on Clean Customer Name to focus on specific customers, updating all visuals accordingly.
Add a filter to show only customers with sales above 300. Which components update and how?