Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
danosoft
Specialist
Specialist

Layout issue dates in selection

As shown in the photo, the dates in the "current selections" are shown to me as a number and not in date format (picture 1), it is possible to put them in date format as I see them when I go to select them (picture 2)

1 Solution

Accepted Solutions
MarcoWedel

The current selections box is showing you the format that your field actually is loaded with.
If you change the format that is generated during the load, you don't have to define a special format in the ListBox while also getting your desired format in the current selections box.

View solution in original post

8 Replies
MarcoWedel

you have to already format the field as a date in your load script, e.g.:

LOAD Date(whatever expression you are currently using for DATA_EMISSIONE) as DATA_EMISSIONE

danosoft
Specialist
Specialist
Author

Thanks MarcoWedel, but sorry... the problem is only in the "current selection" , in the "select box" i see already well

Marcel_Garcia
Contributor III
Contributor III

Hi Danosoft.
Have you tried DATE(field_name, 'DD/MM/YYYY')?

danosoft
Specialist
Specialist
Author

Sorry but where?

In Current Selection i can't put that

MarcoWedel

So you tried using Date() in your LOAD statement and nevertheless did not get the expected result or you did not try because you believe that your issue is restricted to the current selections box?

Can you please post a preview of this field in the table viewer as well as the number format setting of your ListBox?

thanks

 

MarcoWedel_1-1643306035364.png

MarcoWedel_2-1643306056591.png

MarcoWedel_3-1643306279851.png

 

MarcoWedel_4-1643306296043.png

MarcoWedel_5-1643306309931.png

 

 

 

 

 

 

 

thanks

danosoft
Specialist
Specialist
Author

"or you did not try because you believe that your issue is restricted to the current selections box?" Yes right

In the preview i see the number

danosoft_0-1643356612385.png

 

in my list box i see it well, but yes i use date format there

danosoft_3-1643356808284.png

 

danosoft_1-1643356705048.png

 

 

in my "current selection" i see the number

danosoft_2-1643356732506.png

 

MayilVahanan

Hi Danosoft,

As suggested by Marco, you need to change the format in the script part in order to fix the problem.

Load Date(UrDateField, 'DD/MM/YYYY') as UrDateField from ursource;

Then it will fix auto in the current selections box.

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
MarcoWedel

The current selections box is showing you the format that your field actually is loaded with.
If you change the format that is generated during the load, you don't have to define a special format in the ListBox while also getting your desired format in the current selections box.