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

análisis de cambio de marca

Hola

Quiero hacer un análisis de cambio de marca,

Tengo la siguiente tabla, donde en 2020/6 la marca "ABC" hizo una campaña publicitaria para su producto "agua".

Quiero obtener 3 valores:

1) nuevo cliente (durante la campaña) -> 1 (id de cliente no 2)

2) cambio de marca (durante la campaña) -> 1 (id de cliente no 1, cambiar de DEF a ABC)

3) repetir (sin cambio en el comportamiento de compra) -> 1 (identificador de cliente no 3 , sin cambio antes y después de que la campaña compró el agua de ABC)

año-mesidentificación del clienteproducto (comprado)Marcabandera publicitaria
2020/51AguaDef
2020/53AguaAbc
2020/62AguaAbc
2020/61AguaAbc
2020/63AguaAbc
2 REPLIES 2
Anonymous
Not applicable

gracias, estos artículos fueron útiles!

Pensé en compartir mi solución rápidamente.

nuevo cliente

RANKX(
FILTRO(
'mesa',
[product_name] - ANTERIOR([product_name])
&& [customer_id]-EARLIER([customer_id])

),
[fecha],ASC
)
cliente de cambio de marca ?
SI (
COUNTAX (
FILTRO (
'mesa',
[customer_id] - ANTERIOR([customer_id])
&& [fecha] <- EARLIER([fecha])
&& [product_name] - ANTERIOR([product_name])
&& [nombre de marca] <> ANTERIOR([nombre de marca])
), [customer_id]
) 1,
1,
0
)

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.