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
Syndicate_Admin
Administrator
Administrator

Tabla de filtros con valor del filtro de fecha

Necesito filtrar la tabla de la fecha seleccionada (del filtro) y menos 30 días.

Si selecciono la fecha del 30 de septiembre, entonces en la tabla veo la información entre el 01 de septiembre y el 30 de septiembre.

Tengo 2 tablas DIM_DATE y FCT_FLOWS, con relación una dirección de DIM_DATE (1) a FCT (*).

EduardCulai_0-1665411933178.png

EduardCulai_1-1665412137665.png

Gracias 🙂

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@EduardCulai , si selecciona una fecha y desea y desea más de esa fecha en el grupo por, necesita una tabla de fechas independiente en la segmentación de datos

Date1 es una tabla de fechas independiente, la fecha se une a la tabla
nueva medida =
var _max = maxx(allselected(Date1),Date1[Date])
var _min = _max -30
devolución
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] >=_min && 'Date'[Date] <=_max))

Necesidad de una tabla de fechas independiente:https://www.youtube.com/watch?v=44fGGmg9fHI

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.