Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
helen_pip
Creator III
Creator III

List box with date - contains dates at lowest level

Hello

I want to create a list box for Day.....There will be an additional list box where the user can sleect month, so only dates in that month are displayed

However my data is at lowest level I.e. I can idnetify people in my data and therefore when i choose data in my list box, it displays it for as many people I have in my data set

I.e.

24/02/2013

24/02/2013

24/02/2013

24/02/2013

24/02/2013

25/02/2013

25/02/2013

25/02/2013

How Do I get the date in the list box to just show

24/02/2013

25/02/2013?

Many Thanks

Helen

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Remove the time fraction from the date in the script: floor(MyDate) as MyDate

(replace MyDate with the name of your field)


talk is cheap, supply exceeds demand

View solution in original post

6 Replies
Gysbert_Wassenaar

Remove the time fraction from the date in the script: floor(MyDate) as MyDate

(replace MyDate with the name of your field)


talk is cheap, supply exceeds demand
helen_pip
Creator III
Creator III
Author

Hello

Thanks for your response

However I now get

41005

41005

41055

41055

I have tried Floor(MyDate) as Date

                Floor(Date(MyDate,'DD/MM/YYY')) as Date

Am I doing something wrong?

Thanks

Helen

helen_pip
Creator III
Creator III
Author

Hello

Thanks for your response

However I now get

41005

41005

41055

41055

I have tried Floor(MyDate) as Date

                Floor(Date(MyDate,'DD/MM/YYY')) as Date

Am I doing something wrong?

Thanks

Helen

helen_pip
Creator III
Creator III
Author

Hello

Thanks for your response

However I now get

41005

41006

41057

41058

I have tried Floor(MyDate) as Date

                Floor(Date(MyDate,'DD/MM/YYY')) as Date

Am I doing something wrong?

Thanks

Helen

helen_pip
Creator III
Creator III
Author

Hi

Ignore me, it is now working O.K.

Thanks for your help

Thanks

Helen

Jason_Michaelides
Luminary Alumni
Luminary Alumni

Please mark a correct answer to close the thread. This way people searching can see this thread was answered.