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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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