Hello mozammel chowdhury,
I believe this could be done via a series of worksheets in a dashboard, by creating the two needed month over month and week over week views. Then placing them in a dashboard next to each other.
Doing some research I was able to find a few community posts that I believe could help resolve this issue. There is this following Tableau Community document which contains a packaged workbook as an example. https://community.tableau.com/docs/DOC-5358#comment-19009
Additionally the following community post contains a list of To Date Calculations that can be used to help develop the desired result.
Some additional examples; Creating YTD Year over Year comparison
I hope this helps!