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
v-cherch-msft Super Contributor
Super Contributor

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!




v-cherch-msft Super Contributor
Super Contributor

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

v-cherch-msft Super Contributor
Super Contributor

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

v-cherch-msft Super Contributor
Super Contributor

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.

Helpful resources

Announcements
Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 415 members 3,719 guests
Please welcome our newest community members: