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
FJME
Frequent Visitor

Summarize value lines duplicated

Hi guys !

I'm managing a long retail provisioning list to merge in a next step with a sales table and after trying to eliminate lines due to file lenght i'm not able to merge quantity duplicate lines by shop (destination store). I tried pivot table but i need to maintain many lines ...consolidate is not an option (only values)...subtototals.... etc. I append the file (just one monthly list...) to ilustrate (initial lines highlighted).

Regards

Francisco

FJME_0-1677424198983.png

 

1 REPLY 1
amitchandak
Super User
Super User

@FJME , You can have a measure like

 

sumx( summarize(Table, Table[DestinationID], Table[CategoryId], "_qty", sum(Table[Quantity]) ), [_qty])

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.