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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Need to be able to automatically filter visuals to show 180 days prior to selected date

I have data coming from SQL server database. How can i get my table visual to show 180 days prior to the date selected in either a slicer or another line chart I have that gets refreshed daily. I just want to be able to freely click or hit a date and it show me the data in the table visual of that same date and 180 day.

1 REPLY 1
vicky_
Super User
Super User

 Measure = CALCULATE( //your calculation here, 
    REMOVEFILTER([Date]), // only need this if you don't have a disconnected date table

    DATEADD(SELECTEDVALUE[Date]), -180, DAY)

)

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.