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
nganbla
Helper II
Helper II

FIlter data on visual for date until now

dear all, 

 

thank for reading and help me as below 

 

i have a visual with starting date 4/1/2020 (m/d/yyyy)

 

the date column have till future time like 6/1/2020

 

I want to filter the visual and date slicer until today only.

 

i am try to write a DAX with datesinbetween but it not wokrs, measure not infor wrong but visual not show.

 

How can I deal with this case? thank you

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @nganbla 

Here is a demo.

You can create a calendar table as below:

Date = CALENDAR(DATE(2020,4,1),TODAY())

After establishing the relationship, use the date field in the calendar table to create a slicer to filter the fact table.

 

You  can refer this post to create a new column and apply it to slicer .

You aslo  can take  a try of  the relative date slicer to achieve the similar result.

12.png

 

Best Regards,
Community Support Team _ Eason

View solution in original post

4 REPLIES 4
v-easonf-msft
Community Support
Community Support

Hi, @nganbla 

Here is a demo.

You can create a calendar table as below:

Date = CALENDAR(DATE(2020,4,1),TODAY())

After establishing the relationship, use the date field in the calendar table to create a slicer to filter the fact table.

 

You  can refer this post to create a new column and apply it to slicer .

You aslo  can take  a try of  the relative date slicer to achieve the similar result.

12.png

 

Best Regards,
Community Support Team _ Eason

amitchandak
Super User
Super User

@nganbla , Drag your date to page-level filter and use <=today. So last X year including today

Anonymous
Not applicable

You can add a  filter on Filters and choose between the dates you want to see it on the chart. 

 

sorry, i want it automatically filter till today, and slicer limit to today only

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.