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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Elivanbijnen
New Member

Combining article duplicates with the total of units sold

It's amateur hour. Just started.

 

I have duplicate articles on the left, for which i would like to have the sum of the right column.

 

Elivanbijnen_0-1700821554564.png

 

Lets say for article 01-0039, I would like to see it only show once, with the sum of the noted units on the right.

So in the case of 01-0039, it would show 01-0039 : 6 

 

Greetings,

 

Eli

 

1 ACCEPTED SOLUTION
jpessoa8
Super User
Super User

Hi @Elivanbijnen ,

 

How are you creating that table visual? Drag and drop both fields?

If you want an aggregated value, you should keep the column with the "Article" and replace the other column with a measure that does something like this :

 

Total = SUM(TableName[ColumnToAddName])

 

The way you're doing it, PowerBI is not aggregating the second column, it's simply showing all the rows existing in the table.

 

Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudo 👍
Thanks!

You can also check out my LinkedIn!

Best regards,
Jorge Pessoa

View solution in original post

1 REPLY 1
jpessoa8
Super User
Super User

Hi @Elivanbijnen ,

 

How are you creating that table visual? Drag and drop both fields?

If you want an aggregated value, you should keep the column with the "Article" and replace the other column with a measure that does something like this :

 

Total = SUM(TableName[ColumnToAddName])

 

The way you're doing it, PowerBI is not aggregating the second column, it's simply showing all the rows existing in the table.

 

Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudo 👍
Thanks!

You can also check out my LinkedIn!

Best regards,
Jorge Pessoa

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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