Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Captuleio
Regular Visitor

EARLIER

Olá!!!

 

Estou tentando utilizar a EARLIER para cálculo, mas apresenta a seguinte mensagem: 

 

EARLIER/EARLIEST faz referência a um contexto de linha anterior que não existe.

 

Abaixo imagem do modelo:

EARLIER.jpg

 

 

Obrigado

Captuleio

 

1 ACCEPTED SOLUTION
MattAllington
Community Champion
Community Champion

This is not a power query question but a DAX question.  Looks like you are writing a measure. In this scenario there is only a single row context (in the filter) so there is no “earlier” row context. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

View solution in original post

1 REPLY 1
MattAllington
Community Champion
Community Champion

This is not a power query question but a DAX question.  Looks like you are writing a measure. In this scenario there is only a single row context (in the filter) so there is no “earlier” row context. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors