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
KashiViswanath
Microsoft Employee
Microsoft Employee

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

Top Solution Authors