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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
sebastien
Contributor II
Contributor II

Insert new column with another data table

Hi all,

I wish to know what is the best way to do this scenario.

I have two tables :

Hours : (ID_USER, HOURS_NUMBER, DATE)

Calendar : (YEAR, MONTH, START_DATE, END_DATE)

I need two add in Hours table the concat value of the field YEAR and MONTH of the Calendar table when DATE of Hours table is between START_DATE and END_DATE of the Calendar table

Of course only one row is possible in Calendar table.

New Hours table : ID_USER, HOURS_NUMBER, DATE, PERIOD

I hope it's clear enought to help me and thank you

1 Solution

Accepted Solutions
Channa
Specialist III
Specialist III

did you try with intervalmatch

Channa

View solution in original post

2 Replies
Channa
Specialist III
Specialist III

did you try with intervalmatch

Channa
sebastien
Contributor II
Contributor II
Author

Thank for your answer. Sorry but I am novice on Qlik.

I try this example :

IntervalMatch_Table:
IntervalMatch(DATE)
LOAD SART_DATE, END_DATE
resident Calendar;

It's ok for the math value but I need to insert the concatenate value of YEAR and MONTH field in a new field of the Hours table.

This example generate a table with DATE, START_DATE and END_DATE only.