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
Hola,
Espero puedan ayudarme
Cuento con la siguientes columanas: Mes, Gasto Mensial, Gasto Acumulado, y me gustaria sacar el proyectado como lo muestra la columna Proyectado tomando en cuenta que la formula para realizar el calculo es como se muestra en la columna Formula, esto debe ser dinamico, es decir: cuando sea marzo y ya se cuente con los gastos reales el proyectado sería para los meses siguientes y asi sucesivamente.
Ya cree una tabla con los gastos mensuales y los acumulados pero no he podido lograr sacar el proyectado
¡Saludos! 🙂
Hi @JVG ,
My Sample is as below.
Data model:
Measure:
Accum = CALCULATE(SUM('Table'[Expense]),FILTER(ALL('Month'),'Month'[Month Number]<= MAX('Month'[Month Number])))Projected =
( SELECTEDVALUE ( 'Month'[Month Number] ) - 1 )
* CALCULATE (
SUM ( 'Table'[Expense] ),
FILTER ( ALL ( 'Month' ), 'Month'[Month Number] = 2 )
)
- ( SELECTEDVALUE ( 'Month'[Month Number] ) - 2 )
* CALCULATE (
SUM ( 'Table'[Expense] ),
FILTER ( ALL ( 'Month' ), 'Month'[Month Number] = 1 )
)Projected Accum = SUMX(FILTER(ALL('Month'),'Month'[Month Number]<= MAX('Month'[Month Number])),[Projected])
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 3 | |
| 3 | |
| 2 |