Qlik Community

Ask a Question

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
LINKEDIN LIVE: Democratizing data to enhance customer-centricity. JULY 29TH REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
GraceGao
Creator
Creator

pivot table

Hi Experts,

can Qlik sense realize below layout?  Please advise. Thanks.

GraceGao_0-1607360460380.png

 

1 Reply
eliran
Creator III
Creator III

Hi,

 

It can work, the idea behind this is to create two inline fields that will hold the captions, and inside the expression you address them with if statement / peek.

For example

Load * INLINE [

TimeFrame

MTD

YTD

];

 

Load * INLINE [

Department

Sales

Distribution

];

 

The expression will be as follows

OB =

if(TimeFrame='MTD',

        if(Department='Sales',sum(SalesMTD_OB ),sum(DistributionMTD_OB ),

        if(Department='Sales',sum(SalesYTD_OB ),sum(DistributionYTD_OB ))

 

I hope it helps,

Eliran.