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
orihait
Helper I
Helper I

Ingresos de los últimos 3 meses

Hola, chicos

tengo una pregunta para usted.

Tengo una tabla de ingresos y una tabla de fechas tenue, ambos están conectados.

tabla de revoluciones se ve algo como esto :

cliente-fecha-ingresos

Quiero saber qué cliente no ha realizado una transacción en los últimos 3 meses comprar no puede encontrar la sintaxis correcta.

espero que alguien pueda ayudar a 🙂

¡¡¡Gracias!!!

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hola @orihait

Pruebe la siguiente medida o el archivo adjunto.

Measure = 
VAR __clientWithSales =
    CALCULATETABLE(
        VALUES( 'Table'[client] ),
        DATESINPERIOD( 'calendar'[Date], TODAY(), -3, MONTH )
    )
RETURN 
COUNTROWS(
    EXCEPT( 
        VALUES( 'Table'[client] ),
        __clientWithSales
    )
)

Saludos
Mariusz

Si este post ayuda,entonces por favor considere aceptarlo como la solución.

Por favor, siéntase libre de conectarse conmigo.
Linkedin

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

Prueba algo como esto

Rolling 3 - CALCULATE(sum(Table[Revenue]),DATESINPERIOD('Date'[Date Filer],MAX(Table[Date]),-3,MONTH)) +0

y utilizar con filas de espectáculo sin en el cliente

ShowItemwithoutdata.JPG

Mariusz
Community Champion
Community Champion

Hola @orihait

Pruebe la siguiente medida o el archivo adjunto.

Measure = 
VAR __clientWithSales =
    CALCULATETABLE(
        VALUES( 'Table'[client] ),
        DATESINPERIOD( 'calendar'[Date], TODAY(), -3, MONTH )
    )
RETURN 
COUNTROWS(
    EXCEPT( 
        VALUES( 'Table'[client] ),
        __clientWithSales
    )
)

Saludos
Mariusz

Si este post ayuda,entonces por favor considere aceptarlo como la solución.

Por favor, siéntase libre de conectarse conmigo.
Linkedin

muchas gracias 🙂

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.

Top Kudoed Authors