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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Eliminar datos antiguos del mes de informes om basado en tablas

Hola a todos

Tengo Datos Históricos que vienen cada mes.

Mes del InformeLoteFechaVentas
1/1/2020Abc12/20/201975
1/1/2020Abc11/20/201975
1/1/2020Abc10/20/2019200
1/1/2020Abc9/11/2019200
1/1/2020Abc8/6/2019200
1/1/2020Abc7/11/201975
1/1/2020Abc6/5/2019200
2/1/2020Abc1/20/2020225
2/1/2020Abc12/20/2019225
2/1/2020Abc11/20/2019175
2/1/2020Abc10/20/2019400
2/1/2020Abc9/11/2019100
2/1/2020Abc8/6/2019100

Basado en el Mes del Informe -> 01/01/2020 - Quiero filtrar los datos solo durante los últimos 3 meses de diciembre, noviembre, octubre y eliminar datos antes de que usando la columna de fecha.

Para 02/01/2020 - Filtrar datos de la columna Fecha para Ene-20, Dic-19, Nov-19 y eliminar datos antes de eso.

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hola @Ayesha28

Crear relaciones

Capture1.JPGCapture2.JPG

Crear una medida

Measure = CALCULATE(SUM('Table'[Sales]),FILTER('Table',DATEDIFF('Table'[Date],[Report Month],MONTH)>=1&&DATEDIFF('Table'[Date],[Report Month],MONTH)<=3))

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

az38
Community Champion
Community Champion

Hola @Ayesha28

por ejemplo, tratar de crear una tabla

New Table = FILTER(ALL(Table),
DATEDIFF(Table[Date], Table[Report Month], MONTH) <= 3 )

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.