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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Use [Today] in filters

Hello all

 

I’ve built a report which should be filtered in two ways.

StatusActiveOn should be every date less or equal today

StatusDeadOn should be every date greater than today

 

So far i added 2 slicers and selected the correct dates. But it should select the correct dates automatically, i tried adding a page level filter but it seems that i cant use any functions (Today..) or calculated columns there.

Is there a way to achieve the expected result without using the manual slicer option?

 

It should be the case that the date(today) automatically refreshes, but we already use a schedule on this report so i dont think that should be a problem.

 

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

@Anonymous,


I make a test using the following sample table.
1.PNG

I created a calculated column and drag it to page level filter, everything works well. Could you please share sample data of your table so that I can test?

chkdate = IF(Table1[Date]<=TODAY(),1,0)

2.PNG3.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yuezhe-msft
Employee
Employee

@Anonymous,


I make a test using the following sample table.
1.PNG

I created a calculated column and drag it to page level filter, everything works well. Could you please share sample data of your table so that I can test?

chkdate = IF(Table1[Date]<=TODAY(),1,0)

2.PNG3.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PattemManohar
Community Champion
Community Champion

@Anonymous Please try to have "Relative" date filters on the Slicer. That should work for you !!

 

image.png





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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