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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
hyggins
Helper I
Helper I

Cálculo DAX para encontrar Fecha cuando el total se convierte en un cierto valor (2x, 3x, etc.)

¡Buenas tardes!

Tengo tres columnas: Fecha, Total en ejecución y Crecimiento. Quiero crear otra columna ("Fecha doble") que indique cuándo, en una fecha posterior, el total en ejecución se duplicó. Vea los datos de ejemplo a continuación. El 1/1 el Total de Carrera fue 621. En 1/4 el Total de Carrera fue de 1.247. Esta es la fecha más temprana en la que Total en ejecución era igual o superior al valor 1/1 de 621. ¡Gracias!

FechaTotal de ejecuciónCrecimientoFecha doblada
1/1/2020621 1/4/2020
1/2/20207721511/6/2020
1/3/202010262541/7/2020
1/4/202012472211/8/2020
1/5/202015252781/10/2020
1/6/202020004751/11/2020
1/7/20202366366
1/8/20202651285
1/9/20202808157
1/10/202039291121
1/11/20204638709
2 REPLIES 2
camargos88
Community Champion
Community Champion

Hola @hyggins ,

Pruebe este código :

Columna ?
VAR _date á 'Tabla'[Fecha]
VAR _value á 'Tabla'[Total de ejecución]
RETURN CALCULATE(MIN('Table'[Date]); FILTRO(ALL('Tabla'); 'Tabla'[Total de ejecución] > _value * 2))


Ricardo


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



az38
Community Champion
Community Champion

Hola @hyggins

Date Doubled = 
CALCULATE(
MIN('Table'[Date]), 
FILTER(ALL('Table'),'Table'[Running Total] >= 2* SELECTEDVALUE('Table'[Running Total]) )
)

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.

Top Kudoed Authors