Hey guys/gals,
I have created a weekly report with line graph visuals showing trends for the last 6 weeks for several categories. I also have a bar graph visual and radial gauge/overlayed KPI visual that shows data for the most recent week in the database broken out by day. I am using 2 visual level filters to accomplish this:
For the trend line visual:
RecentWeeks = if(and('Report Card'[Week_rank] >= 1,'Report Card'[Week_rank] <= 6),"Yes","No")
For the most recent week visuals:
Week_current = if('Report Card'[Week_rank] = 1,"Yes","No")
....where Week_rank = rankx(all('Report Card'[Year+Week]),'Report Card'[Year+Week])
Now, herein lies the problem. In the above screenshot, the first data entry for the week has been made and thus, the report treats week 1647 as the most recent week and therefore automatically tailors all of the visuals for displaying the detailed (daily) data for this week. What if the user wants to see the details for last week? There is no easy or feasible way for them to select a different week for "Week_current" or a different set of 6 weeks for "RecentWeeks". Is there any solution to this that I may be overlooking?
Thanks for the input!