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
Anonymous
Not applicable

Power Query: A new column with a sum amount from another column which contains [List]

Heya ladies and gentlemen,

 

I have a dataset and in this dataset there's one column, which contains a List. I can expand this list to new rows, but this creates also duplicate rows, which I do not want. However, I'd like to know the total sum of this List and sum it to a new column so that there's no duplicate rows.

 

I think you should use some kind of List.Sum or similar function to do this, but I cannot get it to work. Any ideas fellas? 

 

Thanks.

 

kuva1.PNG

1 ACCEPTED SOLUTION
jthomson
Solution Sage
Solution Sage

Could you not try to expand the lists, and then use the grouping function, summing on this column?

View solution in original post

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @attehaa,

 

Have you solved your problem?

 

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please feel free to ask and describe your scenario in more details.

 

In addition, you could have a reference of this similar threads,

 

http://community.powerbi.com/t5/Desktop/Expand-colum-with-lists/m-p/53290

 

https://community.powerbi.com/t5/Desktop/row-duplication-when-expanding-a-table-column/m-p/85846

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jthomson
Solution Sage
Solution Sage

Could you not try to expand the lists, and then use the grouping function, summing on this column?

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.