Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

formatting what is displayed on current selection box

Hello got a date field which is numbers (QlikView format)

I have a button which selects in this field as follows

='>= ' & $(vFromDate) & ' <= ' & $(vToDate)

the result is fine but what the end user sees is as follows:

test.png

End users are not developers

can this be translated to something like >= 1/1/2014 <= 10/29/2014 ?

Please advise

I can walk on water when it freezes
17 Replies
vardhancse
Specialist III
Specialist III

can change the number format to date format for that field.

As what ever data in a field, will be displayed in current selection.

sujeetsingh
Master III
Master III

Change the date format using date() date() functions.

vinay_hg
Creator III
Creator III

format that date fields/variables in script using Date(vfromdate,'DD/MM/YYYY') or format variable in front end.

vardhancse
Specialist III
Specialist III

what is the variable vFromDate and vToDate.

ali_hijazi
Partner - Master II
Partner - Master II
Author

vFromDate = 41640

vToDate = 41941

I'm selecting on Snapshot_Date which has the above format (numbers)

I can walk on water when it freezes
vardhancse
Specialist III
Specialist III

change the number format for Snapshot_Date in document properties->number<tab>->date

ali_hijazi
Partner - Master II
Partner - Master II
Author

NO

this only formats the display of SNAPSHOT_DATE

I can walk on water when it freezes
mdmukramali
Specialist III
Specialist III

Dear,

Can you check the attached file.

i hope it will help u.

Thanks,

Mukram

ashfaq_haseeb
Champion III
Champion III

Hi,

Ali I think that not directly possible.

Instead you can try by adding 1 proper date filed.

And hide numeric date field selection by using hide prefix statement.

And add field event trigger to select similar selection in proper date field.

Hope it helps.

Regards

ASHFAQ