Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hola
Tengo 2 tablas, la tabla-1 tiene valores reales hasta el mes actual (septiembre de 2021). La Tabla-2 tiene valores pronosticado a partir de julio de 2021.
Quiero mostrar la suma de valores reales desde enero de 2021 hasta la fecha (septiembre de 2021), que no es más que YTD, y también quiero mostrar los valores de pronóstico del mes actual a los próximos 90 días restando los valores reales del mes actual.
Por favor, ayúdame a hacerlo.
Gracias
AshDil.
Solved! Go to Solution.
Hola
Comparta algunos datos y muestre el resultado esperado.
Hay @Ashish_Mathur ,
Encuentre la entrada y salida de la muestra.
Tabla-1: Valores reales
| GATO | AÑO | ENE | FEB | ESTROPEAR | APR | MAYO | JUNIO | JUL | AGO |
| A | 2021 | 100 | 120 | 150 | 200 | 300 | 250 | 400 | 200 |
| B | 2021 | 120 | 300 | 120 | 130 | 250 | 500 | 100 | 600 |
Tabla-2: Valores de pronóstico
| GATO | AÑO | JUL | AGO | SEP | OCT | NOV |
| A | 2021 | 100 | 150 | 200 | 300 | 250 |
| B | 2021 | 200 | 150 | 400 | 300 | 350 |
Resultado esperado:
| GATO | YTD REAL | PRONÓSTICO A 90 DÍAS |
| A | 1720 | 750 |
| B | 2120 | 1050 |
Por favor, ayúdame a hacerlo.
Gracias
AshDil
De nada.
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.