cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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.

View solution in original post

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.

View solution in original post

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 193 members 2,045 guests
Please welcome our newest community members: