Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hola a todos, necesito ayuda
Tengo esta tabla con esta información
Id | Ingresos | Ingresos | Mes | año |
1 | 3500 | 1400 | 12 | 2019 |
2 | 3400 | 890 | 11 | 2019 |
3 | 2000 | 200 | 10 | 2019 |
4 | 3200 | 2500 | 12 | 2018 |
5 | 1000 | 100 | 11 | 2018 |
y me gustaría poder procesar esta mesa
Indicador | DICIEMBRE DE 2019 | NOVIEMBRE DE 2019 | DICIEMBRE DE 2018 | FINAL 2018 | FINAL 2019 | SLA (MEDIDA) |
Ingresos | 3500 | 3400 | 3200 | 48000 | 46000 | |
Ingresos | 1400 | 890 | 2500 | 2300 | 1441 |
Traté de usar una matriz, pero en vano
También me gustaría añadir que los meses pueden cambiar e incluso puede ser más de uno hasta todos. El saldo final debe ser la suma de todo el año
Saludos
@tarz , Desde el mes Año puede crear una fecha y dar este formato .
Año del mes á format(date([year],[month],1),"MMMM-AAAA")
Utilícelo en la columna de la matriz. Y usa show en la fila. Eso moverá Medir en fila.
https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/
Thanks a lot @amitchandak .
How can I block the total? In the sense, if I don't want all the months of the year but only some and keep the total of all?
Thank you
Hola @tarz ,
Puede hacer referencia al gif para activar y desactivar los subtotales.
Para tener el total de todo el mes del año, pruebe algo en la línea de:
año total ?
VAR tYear - CALCULATE([your sum measure], ALL(Date table[Month]))
devolución
IF(ISINSCOPE(Date table[Month]), [su medida de suma], tYear)
(esto supone que está filtrando/cortando por año)
Proud to be a Super User!
Paul on Linkedin.