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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
SonPhan
Partner - Creator
Partner - Creator

Weird selections

Hello Qlik Experts,

i have a question regarding my code:

SonPhan_2-1630594999092.png

i am just wondering why 2018-Apr. is seen multiple times and not only one time:

SonPhan_1-1630594987981.png

Thank you for your support

 

Best regards Son

1 Reply
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

It's because the Date() function formats for display but does not modify the internal value.  The values of Datum still contain different days of the month, so are different values. When you create Dataum, you want to harmonize all the values to the first day of the month using MonthStart().

Date(MonthStart([RW.DAT], 'YYYY-MMM') as Datum

-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com