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

Resumir la tabla con valores de filtrado solo que se duplican 3 veces

Hola a todos,

Tengo una tabla de clientes con fecha de factura como la siguiente:

Número de clienteFecha de la factura
12311/18/2020
12311/17/2020
12311/16/2020
12411/16/2020
12411/15/2020
12511/16/2020

Estoy tratando de sumar la tabla para tener el número de cliente distinto que tienen 3 o más facturas, he intentado el siguiente código dax pero devuelve toda la lista de clientes sin filtrar, debe devolver una lista de un solo cliente que es "123".

Este es el PBIX.

Table = SUMMARIZE(FILTER('Customer Invoices',DISTINCTCOUNT('Customer Invoices'[Invoice Date])>=3),'Customer Invoices'[Customer Number])

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hola

Puede descargar mi archivo PBI desde aquí.

Espero que esto ayude.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
mahoneypat
Employee
Employee

Utilice esta expresión en su lugar

Tabla 2 ?
FILTRO (
DISTINCT ( 'Facturas de cliente'[Número de cliente] ),
CALCULAR (
COUNT ( 'Facturas de cliente'[Fecha de factura] )
) > 3
)

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


Anonymous
Not applicable

¡Gracias a que funciona!

Aunque tengo un reposo, ¿puedo insertar un filtro para devolver los valores distintos de octubre, por ejemplo, como este filtro month(fecha de factura) 10?

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.