When you import data from a CSV file into Power BI, it might automatically aggregate the data when you use it in visuals, especially if the fields are numeric. Power BI does this to provide a summarized view by default, which is why you may see aggregated values like sums, averages, or counts.
Reasons Why Data is Being Aggregated Automatically:
-
Numeric Fields:
-
Power BI automatically applies aggregation to numeric fields when they are added to a visual. This is because Power BI assumes you want to perform aggregation on numbers, such as summing, averaging, or counting the values.
-
Field Type:
-
Default Behavior:
How to Disable Automatic Aggregation and Show Raw Data:
To stop Power BI from aggregating your data and show the raw data instead, follow these steps:
-
Change the Aggregation Type:
-
After adding a field to a visual, if Power BI aggregates the data, click the dropdown next to the field in the Values field well.
-
Select Don't summarize to prevent automatic aggregation.
-
Use Fields in the Axis or Legend:
-
If you want to display the raw data without aggregation, place the field in the Axis or Legend section of your visual instead of the Values section. Power BI won’t apply any aggregation to these fields.
-
For example, place a Category or Product field in the Axis or Rows section, and then place a Value field in the Values section without aggregation.
-
Adjust Data Model:
-
Use Explicit Measures:
-
Disable Auto Summarization (Optional):
-
In Power BI Desktop, you can turn off auto summarization for numeric fields. To do this, go to File > Options and settings > Options, and under Global > Data Load, uncheck the box for Auto Summarize. This stops Power BI from automatically summarizing numeric fields.