Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikhans
Creator
Creator

Month in cross table does not match date field

I am having an issue in matching periods/months that head a crosstable to dates in a text file. Attached are examples of my data files, the output [actual generated versus what I need] and the QV document.

I have tried to change the headings to actual month names, did not work.

I go for easy solutions. So if the headings of the crosstable need to be changed, that can be done.

Who can help me?

thanks

Hans

1 Solution

Accepted Solutions
robert_mika
Master III
Master III

Try:

Directory;

LOAD YEAR(Date) as Year,

  Text(Date(Date,'MM')) as Period,

View solution in original post

3 Replies
Not applicable

if you do not mind, could you elaborate issue in way that no need to look into attachments?

robert_mika
Master III
Master III

Try:

Directory;

LOAD YEAR(Date) as Year,

  Text(Date(Date,'MM')) as Period,

qlikhans
Creator
Creator
Author

Hi Robert,

That just did the trick. Thank you for your help.

beste rgrds

Hans