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

Contar una tienda que vende todos los productos

Quiero contar una tienda si lleva las 7 SKU. Pero si una tienda no lleva las 7 SKU no quiero contarla. Por ejemplo, el cliente está a la izquierda y los skus son cada columna. Me gustaría contar 3 como sólo 3 clientes llevan los 7 skus a pesar de que hay 4 tiendas.

ahmoosvi_0-1596577745072.png

3 REPLIES 3
Icey
Community Support
Community Support

Hola @ahmoosvi ,

¿Cuál es la estructura de los datos en Power BI Desktop?

Saludos

Icey

amitchandak
Super User
Super User

@ahmoosvi , Pruebe este

Recuento de tienda vender las 7 SKU

Recuento de la tienda: countx(filter(Summarize(Table[Store], "_1",DISTINCTCOUNT(Table2[SKU])),[_1]>-7),[Store])

mahoneypat
Employee
Employee

Si aún no lo hace, debe despivot las columnas de SKU para simplificar el análisis de DAX. Si todas las SKU están en la misma columna, podría usar un enfoque como este

Tiendas que venden todas las SKU: COUNTROWS(FILTER(DISTINCT(Table[Store]), CALCULATE(DISTINCTCOUNT(Table2[SKU])) - 7))

Si esto funciona para usted, márquelo como la solución. Los elogios también son apreciados. Por favor, avísame si no.

saludos

palmadita





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


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.