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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Distinct

Hi,

Is it possible to use the Distinct function in the Expression of the calender object.

Regards,XXX

7 Replies
Not applicable
Author

Indifferent

Not applicable
Author

Hi,

If the function in your expression have the option [DISTINCT], you can use but what problemn do you have?

Not applicable
Author

Hi,

i have created the calender control from the feild with the Expression =Makedate(Year(AT),Month(AT),Day(AT)).

In the calender control the date is not displayed If i select the date from the drop down of the the calender control or the select the date from calender table.

any one can help me to find the solution??????????????

Regards,XXX

Not applicable
Author

Do you can post a file whith this example?

suniljain
Master
Master

yes, You can use distinct function in Expression . But Can I know your exact requirement ?.

Regards

Sunil

Not applicable
Author

I think you need use a field AT with a full date, and not make a date with 3 fields?

Do you have a field date or you remove in your script....

I use year,month and day separated just the user can select with granularity.....but on the calendar object i use a full date!!!

Did you try that?

Not applicable
Author

Thanks for your response

@ Sunil i am not able use the Distinct option in Expression. Please see the Attachment.

@ Alexio i tried the full date as well. Since the field i am using is with datetime format hence there are duplicates of the same date. Hence i used the makedate function.