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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Syndicate_Admin
Administrator
Administrator

Filtros

Hola a todos

Necesito ayuda para crear filtros en PowerBi que solo se apliquen a fechas futuras. El filtro filtrará ciertos tipos de citas para 2024 en adelante. No quiero que los números cambien para los datos históricos. Cualquier ayuda será apreciada.

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

Hola @garzjnc ,

Si he entendido bien, el problema es que quieres filtrar las fechas futuras. Pruebe los siguientes métodos y compruebe si pueden resolver su problema:

1.Cree una columna calculada para clasificar cada fecha como una fecha futura o no. Introduzca la siguiente fórmula DAX.

IsFutureDate = IF([DateField] >= DATE(2024, 1, 1), TRUE, FALSE)

2.Cree una columna para excluir los tipos de citas.

ExcludeAppointmentType = IF([AppointmentType] IN {"Type1", "Type2"}, TRUE, FALSE)

3.Agregue las columnas IsFutureDate y Exclude al panel de filtros.

4.Para IsFutureDate, establezca el filtro para mostrar los elementos cuando el valor sea verdadero. En Excluir, establezca el filtro para mostrar los elementos cuando el valor sea falso.

5. Aplicación de los filtros.

Si los anteriores no pueden ayudarlo a que funcione, ¿podríaproporcionar más datos sin procesar (excluir datos confidenciales) con formato de texto para realizar una solución de problemas profunda? Sería útil encontrar la solución.

Esperamos su respuesta.

Saludos

Sabiduría Wu

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

Top Kudoed Authors