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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Mystery
Helper I
Helper I

Visual filter for sysdate -7

Hi,

 

I have a report requirement where I have added a table and lot of measures in that table.I have to show all the measures for a date range = todays date -7.

 Is there a way to create a visual level filter on the table or I have to create separate measures to achieve the same.

 

Regards

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Try relative date slicing in visual or  page or report level filters

 

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

2 REPLIES 2
amitchandak
Super User
Super User

Try relative date slicing in visual or  page or report level filters

 

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
ibarrau
Super User
Super User

Hi! It deppends on the requirement. If you want to show the last 7 days of the last date in a table of your model, then you can add a visual level filter type "relative" with the date column. If you want last 7 days from NOW(), then you might need to create a column in your table comparing dates like "if you date column > last 7 days then yes else no". You can then add that new column in a visual level filter and check "yes".

 

Hope this helps, let me know if you need more assistant with the calculated column.

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

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.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.