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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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