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

How to associate datas from two differents selections table into one

Hello everybody,

I'm new on QlikView and that explains this stupid question.. But I'm looking for the answer everywhere and I'm sure you ll be the fastest way to solve my problem.

So I get from my database a complete time table.

- I made a first selection table "Year" where there are 2014 and 2015 for example.

- I made a second selection table "Week" where are my weeks "1, 2, 3 ....".

Now I want a new selection table where I can have " Year - Week" as "2015 - 14" for example.

So the question looks simple: How can I join my two tables into one?

Thank you for helping. I really don't find the answer on tutorials..

Tristan

1 Solution

Accepted Solutions
awhitfield
Partner - Champion
Partner - Champion

Hi Tristan,

you can combine the two to create a single field in your load script, e.g.:

Year(Date)&'-' & Week(Date) AS YearWeek

HTH

Andy

View solution in original post

4 Replies
robert_mika
Master III
Master III

In your load statement try:

load

Year& Week as Year&'-'&Week,

...

awhitfield
Partner - Champion
Partner - Champion

Hi Tristan,

you can combine the two to create a single field in your load script, e.g.:

Year(Date)&'-' & Week(Date) AS YearWeek

HTH

Andy

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Add a list box object with an expression as field: =Year & ' - ' & Week


talk is cheap, supply exceeds demand
Not applicable
Author

Thank you for answering as fast!