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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to exclude past dates in Pivot table

Hello!  Pls. see my questions below regarding my pivot table...

1.  I have an Inventory item that date should always be on the 1st column being the current day ...I think the sorting won't solve this unless with the use of expression? or do you suggest taking off the date?

2.  how do I exclude or hide the past dates in my pivot chart...thus, i only want to show dates that belongs to current year and future years.

3.  How do I arrange my items under category columns (pls. see attached)...Like I want the Sales be be on top and receipts to be in 2nd line)..

Thus, I want my pivot to improve to look like this :

Category2/13/20141/6/20141/13/20141/20/20141/27/20142/3/20142/10/20142/20/2014
Sales600300300300300300
Receipts110012001300140015001600
Inventory5000
Open PO700

500

2 Replies
swuehl
MVP
MVP

You can use a set expression like

=sum({<MonWeek = {">=$(=weekstart(today()))"}>} Qty)

to only show values for weeks starting from this week, and a sort by expression like

=match(Category,'Sales','Receipts','Open PO','Inventory','SalesOrder')

Anonymous
Not applicable
Author

Hi! Swuehl

Thank you so much... My questions from no 2 and 3 have been answered...I just need to replace the weekstart with yearstart since I want the beginning of the year.

For my question no 1,  how do i place the inventory value to be always on the 1st column...Will conditional formula work? How?

Tks.