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
KK22
Regular Visitor

How to show the last 13 months only using date hierarchy

Hi,

I need to show the last 13 months on a monthly report as Feb 2021 to Feb 2022,  March 2021 to March 2022 and so on. I would like to keep using date hierarchy because the chart looks neat this way.   However, If I select Year 2021 it's started from January, not March.  If I unselect January it is gone from both years. Is there any additional filtering option?

Thank you.

KK22_0-1648844928181.png

 

 

2 ACCEPTED SOLUTIONS
davehus
Memorable Member
Memorable Member

Hi @KK22 , Would using a relative date filter using your date key work. Set it to is in the last 13 months/calendar months?

View solution in original post

Thank you davenhus, I followed your advice and it worked.

View solution in original post

4 REPLIES 4
CNENFRNL
Community Champion
Community Champion

Fairly easy by means of time intelligence func as they invoke ALL() implicitly for evaluation.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Thank you CNENFRNL  for the responce and pointing toward the functions; however it could have been realy useful if the finction  name was mentioned. 

davehus
Memorable Member
Memorable Member

Hi @KK22 , Would using a relative date filter using your date key work. Set it to is in the last 13 months/calendar months?

Thank you davenhus, I followed your advice and it worked.

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.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

Top Solution Authors