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
bilingual
Helper V
Helper V

Filtro para meses completos

Hola , tengo una consulta donde estoy importando datos todos los lunes, pero para muchos de los objetos visuales, sólo deben actualizarse cuando el mes ha terminado y todos los datos están disponibles.

Por ejemplo ahora tengo un gráfico que muestra los datos de septiembre, pero sólo para los primeros 6 días.

Puedo eliminar septiembre manualmente por filtro, pero ¿hay una manera de crear un filtro para que solo se muestren los meses completos?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@bilingual, no muy claro.

Puede tener una columna en la tabla de fechas como

Tipo de mes : Switch( True(),
Fecha[Fecha] á eomonth(Today(),0) && eomonth(Date([Date],0) ? eomonth(Today(),0) ,"Current Month" , //Last Month
Date[Date] <> eomonth(Today(),0) && eomonth(Date([Date],0) ? eomonth(Today(),-1) && ,"Current Month" , //This Month
[Año del mes]
)

y Usar el mes actual como filtro

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@bilingual, no muy claro.

Puede tener una columna en la tabla de fechas como

Tipo de mes : Switch( True(),
Fecha[Fecha] á eomonth(Today(),0) && eomonth(Date([Date],0) ? eomonth(Today(),0) ,"Current Month" , //Last Month
Date[Date] <> eomonth(Today(),0) && eomonth(Date([Date],0) ? eomonth(Today(),-1) && ,"Current Month" , //This Month
[Año del mes]
)

y Usar el mes actual como filtro

Hi Amit, unfortunately it does not work, as the Current Month is only active for one of the days in the month, not all days 😞

 

Nuværende måned = Switch( True();
Kalender[Dato] = eomonth(Today();0) && eomonth(Kalender[Dato];0)= eomonth(Today();0) ;"Nuværende måned" 
Kalender[Dato] = eomonth(Today();0) && eomonth(Kalender[Dato];0)= eomonth(Today();-1) ;"Nuværende måned" 
[Måned_år]
)

My example:

 

DateCurrent month formulaMåned_år
28-09-2020Nuværende måned  sep-20
21-09-2020sep-20 sep-20
07-09-2020sep-20 sep-20
08-09-2020 sep-20 sep-20
31-08-2020 sep-20 sep-20

Gracias Amit,

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.