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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
KK22
Helper I
Helper I

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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