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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Amardeep100115
Post Prodigy
Post Prodigy

How to filter visual by today.

Hi 

 

i would like to filter data/ visual by today coloun in data, it means visual shoud display data for upcoming lease expiry by lease expire year by quarter, which due in next 6 month , 12 month, next Year. 

i have shown in visulised table in attached file, but i am unable to filter it by today for upcoming expiring lesae.

 

Also if there is not value is selected in slicer then the visual should be display currunt month data.

 

I have used below measures to achive that.

 

 

i have filtered corrumnt month by below 2 measures: (i dont want to disrurb those measures)

 

1)

TotalSites = COUNT(ValidFacilities[SAP Bldg ID])

 

2) 

Total Sites = IF(HASONEVALUE(ValidFacilities[Mnth_Yr]),[TotalSites],COUNTAX(FILTER(ValidFacilities,ValidFacilities[Mnth_Yr]="September_2019"),[TotalSites]))

 

https://1drv.ms/u/s!Ai3rGPgy20kLyjbCcWBLCwjIZFKk?e=CeWJyM

 

Hope i am clear in my results 

Amardeep Bhingardeve
2 REPLIES 2
Icey
Community Support
Community Support

Hi @Amardeep100115 ,

Try this: Use a relative date slicer and filter in Power BI Desktop.

 

Best Regards,
Icey

 

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

I already checked this actually but what i am looking is that i wish  to filter data/visual after today's date so automatically  it will be filter quarter as well 

 

Amardeep Bhingardeve

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.

Top Solution Authors