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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
khasimvali85
Creator II
Creator II

display 3 dates if i select one date

urgent

21 Replies
Anonymous
Not applicable

Hi Khasimvali,

as of your requirement this method is working

=date(Max(datefield)-1,'DD-MM-YYYY')

=date(Max(datefield)-2,'DD-MM-YYYY')

=date(Max(datefield)-3,'DD-MM-YYYY')

use three text box and use this expression.

I think this would be helpful for you...

khasimvali85
Creator II
Creator II
Author

Hi,

Where Should i Give that Expression? in Variable or pivot table

Thanks

Khasim.

khasimvali85
Creator II
Creator II
Author

hi Dhiraj,

Where Should i Give the Expression?

Thanks

Khasim.

jagan
Partner - Champion III
Partner - Champion III

Hi,

In Pivot table expression.

Regards,

Jagan.

khasimvali85
Creator II
Creator II
Author

Hi Dhiraj,

I Want this requiremeni in Pivot Table Only given below

on the top of Slide/ Calender Object Need if i Select Date in  Calender i want to display given Pivot Table

i Have created created Calender also.

30-May-1431-May-1401-Jun-14
TotalCustomersTotal %Total CustomersTotal %TotalCustomersTotal %
1106Rajendra0.40%1051Ravi0.50%1101Sekhar3.10%
1811Raja8.50%1718Rajesh2.00%1716Siva2.70%

Thanks

Khasim.

jagan
Partner - Champion III
Partner - Champion III

Hi,

Please find attached file for solution.

Regards,

Jagan.

Anonymous
Not applicable

Hi Khasimvali,

according to your output which you want follow the below instructions-

use date field and other field also in dimention  which you want to display in pivot table then in expression use this set analysis

Sum({<SaleDate={'>=$(=Date(Max(SaleDate)-3))<=$(=Date(Max(SaleDate)-1))'}>} Data )

in  place of SaleDate use your datefield .

Hope this would be helpful for you.

khasimvali85
Creator II
Creator II
Author

Hi Dhiraj,

I Tried Your Expression but Not Working you Given Expression

Thanks,

Khasim.

Anonymous
Not applicable

Hi Khasimvali,

Its working please check the attached file

Not applicable

Hi ,

Just a thought, Can we use triggers here ?

Like when getselectedcount(Date) = 1 then select field setexpression (two days back)

Thanks & Regards

Suhas Gupta