Thanks a lot @Phil_Seamark for the fast reply. It's not working but I am assuming it because the interaction of my calendar and my database are not correctly done. I think I need to solve that issue by rethinking the way the database will be populated then it will work properly.
Yes, I tried it. I understand the logic, unfortunately, I'm not able to replicate it for my situation. Probably only an interaction problem. my METRICS table (table1 in your case) is using DateID and is linked to my DATE table with a DateID. I don't know how I can use a new date table and make it work only using one filter (from my DATE table).
I tried your formula, but i have something modified according to my need i have replaced the weekstartingdate to weekendingdate and the formula is wroking perfectly fine showing me the 3 weeks after the date which i select. But this is working only in bar or line chart level but its not working with the matrix table. When i bring the week end column into column field my matrix table goes blank. I am trying to achive something like below :