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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
ShahbazovT
Contributor III
Contributor III

Difference between dates in Pivot Table

Hello,

I am new in Qlik sense and I have a many problems 🙂

I have here a pivot table and want to have another column reflecting the difference between "Sep-20" and "Oct-20" dates. They are located in the same column, named by Date (Date expression - =(Date(monthstart(TRN_DT), 'MMM-YY')))

Please help 🙏

 
 
 

Capture.PNG

 

 

7 Replies
brunobertels
Master
Master

Hi 

in a cross table you can use before function like this 

sum(sales)-before(sum(sales)) 

or use the column function like this 

Column(1)-before(Column(1))

ShahbazovT
Contributor III
Contributor III
Author

Thank you for support.

There are some dates,  and i want to find between only two dates, "30-09-20" and "31-10-20"

Capture.PNG

brunobertels
Master
Master

Hi 

in a filterpan if you want to select periode do like this 

use > or >= 30.09.2020 <=31.10.2020

brunobertels_0-1605790095607.png

 

ShahbazovT
Contributor III
Contributor III
Author

Help pls🙏

ShahbazovT
Contributor III
Contributor III
Author

It didn't help me
thank you very much again

ShahbazovT_0-1605790426555.png

 

ShahbazovT
Contributor III
Contributor III
Author

It didn't help too

thank you

ShahbazovT_1-1605873559112.png