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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.