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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Filtering between dates

I have a page that is filtered to show only data for todays date but I would like to be able to select between specific dates to get data but when I try everything shows 0. Is there a way to be able to show only todays data and be able to slice between dates to show the data between selected dates?

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

If there is page-level filter from filter pane. then the only way to avoid is to use a measure that ignores that time values. Better you move that filter from page filter to a relative date slicer 

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

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
v-gizhi-msft
Community Support
Community Support

Hi,

 

Please try this measure:

Today Values = CALCULATE(SUM('Table'[Values]),FILTER('Table','Table'[Date]=TODAY()))

Choose this measure as a card visual, then choose date as a slicer, the result shows the today data and selected date duration data:

53.PNG

Hope this can help.

If you still have any issue, please give more info and share some sample data and expected result.

Thanks!

 

Best Regards,

Giotto Zhi

 

amitchandak
Super User
Super User

If there is page-level filter from filter pane. then the only way to avoid is to use a measure that ignores that time values. Better you move that filter from page filter to a relative date slicer 

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

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
rajendraongole1
Super User
Super User

Refer this:

 

https://community.powerbi.com/t5/Desktop/Between-2-dates-in-FILTER-function/m-p/890552

 

https://community.powerbi.com/t5/Desktop/Filter-Measure-Between-Dates/m-p/918931

 

 

Hope it helps.

 

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.