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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
dennisthemenace
Contributor III
Contributor III

Scripting a List of values (year) into List of values (month)

Dear all,

following issue: I am having a crosstable which shows values per month. Now I want to concate another list, but unfortunatly its just a "normal" table showing the values in year. So, now  I would like to transform that list.

Following a sample how to tranform the normal table:

1) Status Quo:

Dimension 1   Dimension 2        Value (per year)

         ...                     ...                                120

2) How to transform:

Dimension 1   Dimension 2       Value (per month)

        ...                     ...                                 10

        ...                    ...                                  10 ..

 

Hope that there is someone who can help me without getting headach 🙂

Regards,

Labels (1)
1 Solution

Accepted Solutions
marcus_sommer

Maybe in this way:

t: load dim1, dim2, value / 12 as value from source; join(t) load distinct month from calendar;

- Marcus

View solution in original post

1 Reply
marcus_sommer

Maybe in this way:

t: load dim1, dim2, value / 12 as value from source; join(t) load distinct month from calendar;

- Marcus