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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

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...
 
Thanks
Kashi Viswanath
1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

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.

Top Solution Authors