Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Bom dia!
Poderiam me ajudar com esse alert do Power Pivot? A medida traz a variação do mês atual vs mês anterior. Antes de subir dados de 2025 estava funcionando perfeitamente, mas quando insiro os novos dados a formula quebra. A Minha tabela dimensão calendário já possui dados até 31/12/2025.
Medida:
=VAR varMesAtual = [TME_s]
VAR varMesAnterior =
CALCULATE(
[TME_s];
DATEADD(dCalendario[Data]; -1; MONTH)
)
RETURN
DIVIDE(varMesAtual - varMesAnterior; varMesAnterior)
The query was not executed, or the Data Model could not be accessed. See the error message we received:
MdxScript(model) (10,2), Calculation error in measurement fCalls'[MoM_TME]: The 'DATEADD' function only works with contiguous date selections.
Solved! Go to Solution.
It might mean there is a gap in your date table somewhere.
You can try this instead:
Measure =
VAR varMesAtual = [TME_s]
VAR varMesPrevious =
CALCULATE(
[TME_s],
PARALLELPERIOD(dCalendario[Data], -1, MONTH)
)
RETURN
DIVIDE(varMesAtual - varMesPrevious, varMesPrevious)
It might mean there is a gap in your date table somewhere.
You can try this instead:
Measure =
VAR varMesAtual = [TME_s]
VAR varMesPrevious =
CALCULATE(
[TME_s],
PARALLELPERIOD(dCalendario[Data], -1, MONTH)
)
RETURN
DIVIDE(varMesAtual - varMesPrevious, varMesPrevious)
Oi, Purple! Usei essa alternativa e realmente funcionou. Não sei por que cargas dáguas a outra não funcionava, mesmo com a Dimensão Calendário completa. Enfim, agradeço sua disponibilidade em ajudar aqui. Abraços do Brasil.
Check out the April 2026 Power BI update to learn about new features.
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.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 22 | |
| 10 | |
| 10 | |
| 7 | |
| 5 |