Forum Discussion
Visualization Summing the Values
Hello Guys,
I am importing the data from SQL Server and trying to plot a bar graph. While doing this power bi is showing me different number than the number is present in Data section.
It might be a silly mistake, I am doing. lol
Thanks,
Hi omi18
Power BI is a aggregation tool.The way around this would be to create an index column in query editor to provide the uniqueness of rows.Then use the index column for legend. For example:
Regards,
Cherie
8 Replies
- omi18Frequent Visitor
Hello,
No, There is no filter in the visualization. Each Year represents a different question ID. In the screenshot 106 ID belongs to Enroll 2014 Year. And I am Using enroll 2014 as a Value and Legend is blank.
Best,
Omi
- v-cherch-msftMicrosoft Employee
Hi omi18
This is due to Power BI being a aggregation tool.You may try to add Legend as category.It's better that if you could share some sample data which could reproduce your scenario and your desired output so that we could help further on it.
Regards,
Cherie
- omi18Frequent Visitor
Hello v-cherch-msft
Below is the sample data.https://bushare-my.sharepoint.com/:x:/g/personal/omi18_bu_edu/EVjZtcezKcJDpO-quTc0jskB0ZkYEAzP29MRtYpZqZRhBA?e=Hv2lPQ
Thanks,
Omi
- v-cherch-msftMicrosoft Employee