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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Milagros389
Regular Visitor

valor anterior

Buenas tardes, tengo una tabla que tiene una columna con fechas de enero 2022 a enero 2030, y una columna que se llama valores que contiene datos numericos. Necesito crear una columna (de ser posible en query, si no en dax) que para enero 2023 tome 0.35, antes que de cero, y a partir de febrero, tome el valor de la fila anterior de la columna que se esta creando, lo multiplique por el numero de la misma fila de la columna valores y lo divida por el numero de la fila anterior de la columna valores. copio como seria en excel 

Milagros389_0-1689197641094.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Milagros389 ,

 

According to your description, you want to complete the recursive operation. Recursion with DAX in Power BI Desktop is difficult. Please try to complete the recursive operation in Power Query, please refer to:

Recursive Functions in Power BI / Power Query — The Power User

                                                                                                                                                         

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Milagros389 ,

 

According to your description, you want to complete the recursive operation. Recursion with DAX in Power BI Desktop is difficult. Please try to complete the recursive operation in Power Query, please refer to:

Recursive Functions in Power BI / Power Query — The Power User

                                                                                                                                                         

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

Helpful resources

Announcements
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.