This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Tengo un plan de envío de enero a mayo y también los datos de efectivo recibidos de febrero a junio (suponiendo un período de crédito de 30 días después del envío). Ahora, en realidad, ha sucedido que algunos de los despachos del mes de abril pueden prepararse y enviarse en febrero. Por lo tanto, el efectivo recibido por esos artículos es real, es decir, Fecha de desp + 30 días. es decir, en marzo. Ahora, si quiero trazar ambos gráficos en el valor acumulado, la escala de tiempo es diferente para ambos valores. Entonces, cómo mostrarlos bajo un gráfico
| Mes | Desp Plan | Desp acumulativo |
| Ene | 20 | 20 |
| Feb | 15 | 35 |
| Estropear | 30 | 65 |
| Apr | 25 | 90 |
| Mayo | 10 | 100 |
| TOTAL | 100 |
Estos son los pasos que puede seguir:
1. Crear tabla calculada.
Table2 =
CALENDAR(
DATE(
2023,1,1),
DATE(
2023,12,31))
2. Crear tabla calculada.
True =
var _table1=
SUMMARIZE(
'Table2','Table2'[Year],'Table2'[Month],
"Cumulative1",
SUMX(
FILTER(ALL('Table'),
YEAR('Table'[Desp Plan])='Table2'[Year]&&
MONTH('Table'[Desp Plan])='Table2'[Month]),[Planned Value]),
"Cumulative2",
SUMX(
FILTER(ALL('Table'),
YEAR('Table'[Desp Actual])='Table2'[Year]&&
MONTH('Table'[Desp Actual])='Table2'[Month]),[Desp value]))
var _table2=
ADDCOLUMNS(
_table1,"Cumulative Plann",
IF(
[Cumulative1]=BLANK(),BLANK(),
SUMX(FILTER(_table1,[Year]=[Year]&&[Month]<=EARLIER([Month])),[Cumulative1])))
return
ADDCOLUMNS(
_table2,"Cumulative Desp",
IF(
[Cumulative2]=BLANK(),BLANK(),
SUMX(FILTER(_table1,[Year]=[Year]&&[Month]<=EARLIER([Month])),[Cumulative2])))
3. Resultado:
Saludos
Liu Yang
Si esta publicación ayuda, considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
| Descripción | Desp Plan | Valor planificado | Desp Actual | Desp value |
| Assy 1 | ene-23 | 100 | ene-23 | 100 |
| Assy 2 | ene-23 | 150 | mar-23 | 150 |
| Assy 3 | feb-23 | 100 | feb-23 | 100 |
| Assy 4 | mar-23 | 140 | feb-23 | 140 |
| Assy 5 | mar-23 | 130 | abr-23 | 130 |
| Assy 6 | abr-23 | 90 | TBD | |
| Assy 7 | Mayo-23 | 80 | TBD | |
| Assy 8 | jun-23 | 150 | TBD | |
| Assy 9 | jun-23 | 130 | TBD | |
| Assy 10 | jun-23 | 125 | TBD |
Véase la tabla anterior. Ahora quiero trazar un gráfico de líneas acumulativo para planificado vs real.
Sírvase proporcionar una explicación más detallada de lo que pretende lograr. ¿Qué has probado y dónde estás atascado?
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.