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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Syndicate_Admin
Administrator
Administrator

Measure to add pieces of a product in multiple locations

Hello everyone:

I hope you can help me in the following. I need a measurement that can make the sum of the quantities of the same product that is in several locations, these locations are from A to Z and could be both in one and 10, for example.

Thank you very much for the attention and support.

Product NameQuantityLocationComment
Product 14090
Product 412050
Product 413,070AAdd these amounts, total: 13,300
Product 440A
Product 490B
Product 4100D
Product 58040
Product 5150CAdd these amounts, total: 210
Product 540W
Product 515E
Product 55Y
4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

Thank you very much for the contribution, I thought that I had to put a range: "A" to "Z".

Best regards.!!

lbendlin
Super User
Super User

seems to be straightforward. What have you tried and where are you stuck?

I'm honestly new to the DAX language, I've done some measurements and they're simple. Where I'm stuck is that I don't know how to indicate that I add by range of "location" that are letters (A --> Z) and that I do NOT take into account the "locations" that are numbers.

Grateful for the support they give us.

None of the locations are numbers, they are all text strings. Filter by the first character of the location being greater than "9" ( or greater than/equal to "A")

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.