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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors