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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Syndicate_Admin
Administrator
Administrator

DAX para obtener la cantidad basada en la fecha de inicio y la fecha de finalización

¿Puede alguien ayudar con DAX?

Necesito hacer coincidir la fecha de inicio y finalización y tomar la cantidad correspondiente.

Por ejemplo

12/29 =12/29 y la cantidad correspondiente es 26700

anto_trop_0-1686168257195.png

Gracias

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@anto_trop , consulte si este enfoque puede ayudar

Una fórmula muy simple puede ser con tabla de fechas independiente

CALCULAR(
SUMA(«Cuadro»[Importe]),
'Tabla'[StartDate] >= SELECTEDVALUE('Fecha'[Fecha]) &&
'Tabla'[EndDate] <= SELECTEDVALUE('Fecha'[Fecha])
)

Pero refiera mejores formas

Power BI Dax Measure: asignar datos entre rangos: https://youtu.be/O653vwLTUzM

Power BI: Análisis de recursos humanos: empleados a la fecha: https://youtu.be/e6Y-l_JtCq4
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.