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
Syndicate_Admin
Administrator
Administrator

Relación de usuario No funciona en el filtro dentro de la función calculate

Hola

Estoy usando la función de relación de usuario en el filtro dentro de la función calcular

me está lanzando un error diciendo 'La función USERELATIONSHIP solo se puede usar en la función CALCULAR.'

He creado una relación inactiva entre 'número de instancia' y 'planned_Number' de muchos a muchos

Estoy creando esta medida en la tabla de rutas

Recuento = CALCULAR(DISTINCTCOUNT(FECHA TOPE[WI_ID]), FILTRO(FECHA TOPE, RELACIÓN DE USO(RUTAS[Assigned_Vehicle], FECHA TOPE[INSTANCE_NUMBER]) = FECHA TOPE[INSTANCE_NUMBER] && RELACIÓN DE USO(RUTAS[Fecha2], FECHA TOPE[DATE_RELEASED]) > FECHA TOPE[DATE_RELEASED] && RELACIÓN DE USO(RUTAS[Fecha2], FECHA TOPE[Date_Delivered2]) < FECHA TOPE[Date_Delivered2]))
Por favor, hágamelo saber si es necesario algún cambio
Gracias

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

Hola

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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 Kudoed Authors