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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
nckpedersen
Helper I
Helper I

Fields with the same value are not aggregating in table

I have a calculated column with a simple lookupvalue formula which appends an organization name to a unique id from another table.

When I put the new column in a table, all of the duplicate values have their own row. Using the original column, those values are aggregated. Even worse, some are actually aggregating... I've copied the values into excel and run a simple deduplication and the values all disappear so I know there are no spelling changes, added spaces, etc.

I cannot seem to find any reason for this. Suggestions? 


nckpedersen_0-1664574109241.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@nckpedersen , Please use clean and Trim in Power Query.

If there is a sort column for the organization, make sure that have only one value for one value of the organization.

 

Also, make sure that the count of Organization is a count or sum

 

Power Query Trim and Clean : https://youtu.be/NRYPsCnS0w4

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
amitchandak
Super User
Super User

@nckpedersen , Please use clean and Trim in Power Query.

If there is a sort column for the organization, make sure that have only one value for one value of the organization.

 

Also, make sure that the count of Organization is a count or sum

 

Power Query Trim and Clean : https://youtu.be/NRYPsCnS0w4

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you! It was indeed because I set a sort column. Interesting effect, might use later now that I know how it works! I really appreciate the help! 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors