Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Data Works for AI is here - Join the discussion and enter to win a pair of Qlik kicks: Join the Conversation!
cancel
Showing results for 
Search instead for 
Did you mean: 
dwighttrumbower
Creator II
Creator II

MTD for whole month versus the selecting week.

I'm creating a table visual where it shows, daily, weekly MTD, QTD and YTD. 

The filters are Year, Month, Week.

When I select 2005, Feb, 8th week my MTD, QTD and YTD only show for that week. Is there a way to code those so it uses all the available days in the MTD, QTD and YTD?

 

Right now I use this for MTD: 
SUM({<Year={'$(vMaxYear)'},Month={'$(vMaxMonth)'},Date=,MonthYear=>}DealerCostUSD)

Thanks

Labels (1)
1 Reply
dwighttrumbower
Creator II
Creator II
Author

I think I figured it out.

SUM({<Year={'$(vMaxYear)'},Month={'$(vMaxMonth)'},Day=,InvoiceDate=,Week=>}DealerCostUSD)