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

Filtro de fecha (período)

Hola

Actualmente tengo la tabla DimDate de la que estoy usando el intervalo de fechas como filtro para mi panel. Quiero cambiar este filtro con el filtro que tienen los siguientes elementos

Hoy
Ayer
Esta semana
La semana pasada
Los últimos 14 días
Este mes
El mes pasado
Los últimos 30 días
Este año

¿Cómo puedo implementar el filtro de períodos anteriores en POWER BI?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@usmanrafiq , puede usar una segmentación de fecha relativa si funciona.

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range

referir este blog para la costumbre

http://sqljason.com/2018/03/display-last-n-months-selected-month-using-single-date-dimension-in-powe...

De lo contrario, tienen que crear una segmentación de medida como

https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slic...
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...
https://www.youtube.com/watch?v=vlnx7QUVYME

múltiples medidas pueden cambiar en función de la selección

Para los valores que necesita hacer referencia

https://www.youtube.com/watch?v=duMSovyosXE

Power BI — YTD
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
Power BI — QTD
https://medium.com/@amitchandak.1978/power-bi-qtd-questions-time-intelligence-2-5-d842063da839
Power BI — MTD
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e
Power BI — WTD
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-La...
Power BI — Day Intelligence
https://medium.com/@amitchandak.1978/power-bi-day-intelligence-questions-time-intelligence-5-5c3243d...

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@usmanrafiq , puede usar una segmentación de fecha relativa si funciona.

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range

referir este blog para la costumbre

http://sqljason.com/2018/03/display-last-n-months-selected-month-using-single-date-dimension-in-powe...

De lo contrario, tienen que crear una segmentación de medida como

https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slic...
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...
https://www.youtube.com/watch?v=vlnx7QUVYME

múltiples medidas pueden cambiar en función de la selección

Para los valores que necesita hacer referencia

https://www.youtube.com/watch?v=duMSovyosXE

Power BI — YTD
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
Power BI — QTD
https://medium.com/@amitchandak.1978/power-bi-qtd-questions-time-intelligence-2-5-d842063da839
Power BI — MTD
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e
Power BI — WTD
https://medium.com/@amitchandak.1978/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
https://community.powerbi.com/t5/Community-Blog/Week-Is-Not-So-Weak-WTD-Last-WTD-and-This-Week-vs-La...
Power BI — Day Intelligence
https://medium.com/@amitchandak.1978/power-bi-day-intelligence-questions-time-intelligence-5-5c3243d...

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.