Dashboard Mode - CSV and text file import
Business Question
How can we import sales data from a CSV file into Power BI to analyze monthly sales performance?
How can we import sales data from a CSV file into Power BI to analyze monthly sales performance?
| Month | Product | Sales |
|---|---|---|
| January | Apples | 120 |
| January | Bananas | 150 |
| February | Apples | 180 |
| February | Bananas | 130 |
| March | Apples | 200 |
| March | Bananas | 170 |
Total Sales = SUM('SalesData'[Sales])
Sales by Month = SUM('SalesData'[Sales]) with Month on axis
+----------------------+----------------------+ | Total Sales | Sales by Month | | (KPI Card) | (Bar Chart) | +----------------------+----------------------+ | Detailed Sales Data Table | +----------------------------------------------+
A slicer can be added for Product to filter the bar chart and table by Apples or Bananas. Selecting a product updates the sales totals and chart accordingly.
If you add a filter for Product = Apples, which components update?