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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Calcular la tasa entre columnas en diferentes tablas en el nivel de fila

Tengo clientes potenciales en una tabla y recuento de inventario en otra. Necesito calcular la tasa de clientes potenciales por inventario en un grano diario para clientes.

Uso de clientes potenciales por listado: SUM(Leads[LEADS])/SUM('Listings Inventory'[INVENTORY]) devuelve un único valor para todas las filas. Por favor, ayúdame.

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hola, @TNiebank

Si intenta crear la columna de cálculo, simplemente pruebe la fórmula como se muestra a continuación:

Leads per Listing1 = DIVIDE(LEADS[LEADS],RELATED('Listings Inventory'[INVENTORY]))

85.png

Si está creando la siguiente medida pero no obtiene el resultado correcto,

Leads per Listing = SUM(Leads[LEADS])/SUM('Listings Inventory'[INVENTORY])

asegúrese de que los tipos de campos en la tabla visual son "No resumir"

84.png

pbix adjunto

Saludos
Equipo de soporte de la comunidad _ Eason
Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

az38
Community Champion
Community Champion

@TNiebank

su correcto. pero si crea una medida, habilitará el contexto de fila

 Leads per Listing Measure = 
DIVIDE(
CALCULATE(SUM(Leads[LEADS])),
CALCULATE(SUM('Listings Inventory'[INVENTORY]) )
)

y asegúrese de tener relaciones apropiadas entre sus tablas


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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.