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

Ayuda para filtrar Fechas del día anterior a Hoy

Como podemos observar en la imagen (en power query filtro sólo este mes) pero tambien requiero que el filtro excluya el día de hoy.

 

para este caso me trae desde el 1 - 21 abril , sólo requiero desde el 1- 20 abril 

 

espero haber explicado bien. saludos 

DateFilter.png

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

add the second condition

 =Table.SelectRows(#"Renamed Columns", each Date.IsInCurrentMonth([FechaEmiDoc]) 
                                    and [FechaEmiDoc]< Date.From(DateTime.LocalNow() ) )


2023-04-22_15-58-05.png

View solution in original post

2 REPLIES 2
Ahmedx
Super User
Super User

add the second condition

 =Table.SelectRows(#"Renamed Columns", each Date.IsInCurrentMonth([FechaEmiDoc]) 
                                    and [FechaEmiDoc]< Date.From(DateTime.LocalNow() ) )


2023-04-22_15-58-05.png

muchas gracias Ahmedx , me funciona perfectamente

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.