I am working with a case similar to the following table:
| Producto | Referencia | Cantidad |
|---|---|---|
| PRODUCTO 1 | 1001 | 35 |
| PRODUCTO 1 | 1001 | 29 |
I am using the QUERY formula and I need the following result:
| group by Producto | count Referencia | count unique Referencia | sum Cantidad |
|---|---|---|---|
| PRODUCTO 1 | |||
| PRODUCTO 2 | |||
| PRODUCTO 3 |
Does anyone know how to do it?
