Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe 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
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 Name | Quantity | Location | Comment |
| Product 1 | 40 | 90 | |
| Product 4 | 120 | 50 | |
| Product 4 | 13,070 | A | Add these amounts, total: 13,300 |
| Product 4 | 40 | A | |
| Product 4 | 90 | B | |
| Product 4 | 100 | D | |
| Product 5 | 80 | 40 | |
| Product 5 | 150 | C | Add these amounts, total: 210 |
| Product 5 | 40 | W | |
| Product 5 | 15 | E | |
| Product 5 | 5 | Y |
Thank you very much for the contribution, I thought that I had to put a range: "A" to "Z".
Best regards.!!
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")
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 50 | |
| 44 | |
| 44 | |
| 19 | |
| 19 |
| User | Count |
|---|---|
| 71 | |
| 70 | |
| 34 | |
| 33 | |
| 31 |