Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hola a todos,
Tengo la tabla de abajo
| Producto | Cantidad | Tienda |
| Tomate | 10 | A |
| Zanahoria | 5 | A |
| Cebolla | 8 | A |
| Pepino | 12 | A |
| Tomate | 8 | B |
| Zanahoria | 2 | B |
| Zanahoria | 15 | C |
| Cebolla | 13 | C |
y necesito la mesa final usando "Resumir"
¿Puedes ayudarme a unirme a las tiendas como en la siguiente tabla?
| Producto | Cantidad | Tienda |
| Tomate | 18 | A-B |
| Zanahoria | 22 | A-B-C |
| Cebolla | 21 | A-C |
| Pepino | 12 | A |
Solved! Go to Solution.
¿Ha intentado utilizar el comando CONCATENATEX DAX? ¿Qué tal esto? (Lo sentimos, reemplace "," por "-")
Proud to give back to the community!
Thank You!
¿Ha intentado utilizar el comando CONCATENATEX DAX? ¿Qué tal esto? (Lo sentimos, reemplace "," por "-")
Proud to give back to the community!
Thank You!
Hola @JorgePereira ,
Pruebe este mcode:
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WCsnPTSzJV9JRMjQAEo5KsTrRSs6JRUX5JUCuKVzIPy8zPw/Is0AoKk0uzU1KLQJpNYKLwo0DKXRCNc0IU8gQZIMzig2GxhChWAA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Product = _t, Amount = _t, Store = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Product", type text}, {"Amount", Int64.Type}, {"Store", type text}}),
#"Grouped Rows" = Table.Group(#"Changed Type", {"Product"}, {
{"Amount", each List.Sum([Amount]), type nullable number},
{"Store", each Text.Combine([Store], "-"), type text}
}
)
in
#"Grouped Rows"
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!