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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Insert value in pivot table

Hello,

I used three dimensions:

- Pull: T-shirt, Polo

- Color: Red, Yellow, Blue, Green

-CTC: size 5, size 7....

***The Pull = T-shirt & Color = Green did not have value but Pull = Polo & Color = Green had value as below

I need output template must have T-shirt with Green label as below (I tried all settings: Show All & Suppress, Populate Missing Cells....)

Any suggestion is much appreciate.

Thanks

   

V2.PullT-shirtT-shirtT-shirtNeed "Green" label here PoloPoloPoloPolo Grand Total
CTCColorRedYellowBlueTotalRedYellowBlueGreenTotal
size 5 1.01.01.00.03.01.03.01.01.06.09.0
size 7 2.02.02.00.06.00.00.0 0.06.0
size 8 2.05.05.00.012.00.0 0.012.0
size 9 2.02.04.00.08.00.0 0.08.0
size 98 1.01.01.00.03.0 0.03.0
size 100 2.03.03.00.08.02.00.02.02.06.014.0
Total 10.014.016.00.040.03.03.03.03.012.052.0
Header
13 Replies
Anonymous
Not applicable
Author

Hi Thach,

There are no records for "Green" for T-Shirt. For that reason it will not come in report even if "suppress null" option is disabled.

Anonymous
Not applicable
Author

Hi ,

Is your requirement is something like Highlighting the "0" values where ever it is possible or only when the Green have the same?

-Jai

rupamjyotidas
Specialist
Specialist

In Script, you can add Color which are not available for CTC.

You can use the below code

InsertValue:

LOAD CTC,

     Color,

     Size,

     Qty,

     CTC&Color as Key

FROM

(ooxml, embedded labels, table is [Sample data]);

Temp1:

Load distinct

CTC,

Size

Resident InsertValue;

Join(Temp1)

LOAD * INLINE [

Color

Red,

Yellow,

Blue,

Green

];

Concatenate(InsertValue)

Load * where not Exists(Key);

Load Distinct

CTC,

Size,

Color,

CTC&Color as Key

Resident Temp1;

Drop Table Temp1;

Anonymous
Not applicable
Author

Great!

That is what I need, Rupam.

@All: thanks for all your kind reply.