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
irnm8dn
Post Prodigy
Post Prodigy

Default Behavior - Date Filter to Most Recent

I am currently using a fiscal calendar for my dashboard.  As pictured below, I have empowered the users to select Year and Week. The ideal scenario would allow me to default the slicers to current year and most recent week.

 

Capture.PNG

 

Is there any ability to do this?  

 

As an aside, the week number is formatted to text to ensure the chronological layout is correct.

 

Thanks for the help.

2 ACCEPTED SOLUTIONS
v-chuncz-msft
Community Support
Community Support

@irnm8dn,

 

You may add an additional slicer by creating a calculated column. Also please vote this idea up.

IsCurrentYear =
IF ( Table1[Year] = YEAR ( TODAY () ), "Yes", "No" )
Community Support Team _ Sam Zha
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

@irnm8dn,

 

Just select "Yes" as shown below.

Capture.PNG

Community Support Team _ Sam Zha
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

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@irnm8dn,

 

You may add an additional slicer by creating a calculated column. Also please vote this idea up.

IsCurrentYear =
IF ( Table1[Year] = YEAR ( TODAY () ), "Yes", "No" )
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @v-chuncz-msft

 

Can you help me understand the dax statement so I can learn how this solves the need?

@irnm8dn,

 

Just select "Yes" as shown below.

Capture.PNG

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

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.

Top Solution Authors