Showing results for 
Search instead for 
Did you mean: 

Default view last 2 years Data even when other filters applied the data should be last 2 years only

Hi Everyone, 


I have data for different Years. the default view is I wanted to show last two Years Data (8 Quarters as my data is year and Quarter wise Trends). I Created a Rank column 

Rank =
RANKX ( Bugs_by_state_Severity_Service, [Start of Quarter],, DESC,Dense ) using which at visual level filter(top 8 rank) I am able to show last two years data only.  
But when any category filter is selected , if particular category does not contains data for any Quarters in the last two years it is going for previous data. I wanted to show the Data within last two years only even if data is not Avaialable for any Quarters.    
Any help regarding this issue is highly appreciable...
Kashi Viswanath
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Please show the expected outcome based on the sample data you provided.

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors