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: 
kiansin
Contributor
Contributor

Double layer dimensions

Hi !

 

kiansin_2-1660877798878.png

I have the Current year total sales table by invoicing week

the "202140" , "202141" etc was represent the invoicing week

kiansin_3-1660877924129.png

I want the output like this , add the months at the top of 4 of invoicing weeks,

is it possible ?

Thanks in advance !!

 

Labels (2)
5 Replies
SunilChauhan
Champion II
Champion II

create a new column using if 

 

if(fieldname>=202140 and fieldname<=202143,'Oct',if(fieldname>=202144 and fieldname<=202147,'Nov')) as New dimension

add this new column to pivot table 

Sunil Chauhan
justISO
Specialist
Specialist

Hi, you can convert your [yearweekfield] to date (and month) with this:

=Month(MakeWeekDate(left([yearweekfield],4), right([yearweekfield],2)))

And yes, add these fields to Pivot table, where on this new month field 'Show totals' are switch on to get Total column, and in Presentation tab 'Fully expanded' is checked to see these '2 layer dimensions'.

kiansin
Contributor
Contributor
Author

hi IamBack,

only possible in pivot table ?

Did we manage to make it present by table view? 

kiansin
Contributor
Contributor
Author

Hi JustISO,

only can make it in Pivot table way?

What if I just want make it by normal table view?

Is it possible ?

SunilChauhan
Champion II
Champion II

what you have shown in image is Pivot table view . So i am afraid its not possible in table.

Sunil Chauhan