Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
omi18
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

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
v-cherch-msft
Employee
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

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.

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.

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

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.
MFelix
Super User
Super User

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


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



omi18
Frequent Visitor

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

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.