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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
WazzelBI
Frequent Visitor

Seeking an elegant solution to display only the months within the quarter(s) to year

I've been struggling to find the most efficient solution for controlling a slicer to only dispay the months for the quarters for the current year.

1 ACCEPTED SOLUTION
dramus
Continued Contributor
Continued Contributor

IS Current Quarter = if(STARTOFQUARTER('Dates'[Date])<= today() && ENDOFQUARTER('Dates'[Date]) >= today(),"Yes","No"

 

View solution in original post

4 REPLIES 4
dramus
Continued Contributor
Continued Contributor

Not sure I understand what you are looking for.

 

Are you looking to just display the months for the current quarter?

Hello, 

 

Yes. I've been creating additional True/False columns and writing formulae in what I feel is an overly complicated way. I'm sure there is an easier way to dispaly just the months for the current quarter and any of the earlier quarters within the same year. 

Thank you in advance 

dramus
Continued Contributor
Continued Contributor

IS Current Quarter = if(STARTOFQUARTER('Dates'[Date])<= today() && ENDOFQUARTER('Dates'[Date]) >= today(),"Yes","No"

 

Thank you so much. THIS is what I meant when I was describing an "elegant" solution. Very much appreciated. 

 

W

 

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.