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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Prasadk7
Frequent Visitor

Select current year and current month in slicer as default

Hi,

Having Year slicer and Month slicer. Need to select current year and month as default if current year data is not availble need to select prevoius year and month as december as default in slicer.

Ex : If we are in Jan 2023 and data is availble in 2023 then 

       year slicer should select default as 2023

       month slicer shold select default as Jan 

      If we are in Jan 2023 and data is not availble in 2023 then 

       year slicer should select default as 2022

       month slicer shold select default as Dec.

How can I achieve it?

Thanks In Adavnce

 

      

1 REPLY 1
Idrissshatila
Super User
Super User

Hello @Prasadk7 ,

 

Check if this solution may solve your issue here https://community.powerbi.com/t5/Desktop/Year-and-Month-display-by-default-in-slicer/m-p/2384754

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

 

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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