cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
omi18 Frequent Visitor
Frequent Visitor

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.

 

Screenshot: https://bushare-my.sharepoint.com/:f:/g/personal/omi18_bu_edu/EhCtZ-nseghPsBgTocB81EIB3P2CblzLqCaHUA...

 

It might be a silly mistake, I am doing. lol

 

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Visualization Summing the Values

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:

1.png

 

Regards,

Cherie

 

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
8 REPLIES 8
Super User
Super User

Re: Visualization Summing the Values

Hi @omi18,

 

In your data image you have two filters on your data are those filters also present in the chart you are using? Do you have any categories that make the legend?

 

Regards,

MFelix



Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




Community Support Team
Community Support Team

Re: Visualization Summing the Values

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

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
omi18 Frequent Visitor
Frequent Visitor

Re: Visualization Summing the Values

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

omi18 Frequent Visitor
Frequent Visitor

Re: Visualization Summing the Values

Hello @MFelix

 

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

omi18 Frequent Visitor
Frequent Visitor

Re: Visualization Summing the Values

Community Support Team
Community Support Team

Re: Visualization Summing the Values

Hi @omi18

 

Please check below picture and let me know if it is your case.

1.png

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
omi18 Frequent Visitor
Frequent Visitor

Re: Visualization Summing the Values

Hello @v-cherch-msft

 

Yes, But Instead of Question ID, I want to use University ID. So visualization will present Universities by Enrolment.

 

Thanks,

Omi

Community Support Team
Community Support Team

Re: Visualization Summing the Values

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:

1.png

 

Regards,

Cherie

 

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.