Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Krish
Contributor III
Contributor III

dynamic columns in Straight/pivot table chart

Hi,

I am trying to create a chart/table which has 2 dimensions, country and type and a measure sum(sales). My input would be like

Krish_0-1611212493877.png

and output like below

Krish_1-1611212589618.png

How can this be achieved? 

 

Labels (2)
2 Solutions

Accepted Solutions
Krish
Contributor III
Contributor III
Author

This is what I was looking for. Thank you.

Is there a way to suppress Dept (field name header) from the pivot ?

View solution in original post

NITROG3NN
Partner - Contributor III
Partner - Contributor III

You cant suppress it fully, but try this, reduce the size of the column and label it blank in dimension tab (use space, screenshot attached below) and you will be left with the screenshot below.

NITROG3NN_0-1611220572702.png

NITROG3NN_1-1611220689280.png

 

 

View solution in original post

4 Replies
NITROG3NN
Partner - Contributor III
Partner - Contributor III

Hey Krish,

   Try using Pivot chart and just drag the Dept column above your expression and you will get what you want. Check the attachments.

Krish
Contributor III
Contributor III
Author

This is what I was looking for. Thank you.

Is there a way to suppress Dept (field name header) from the pivot ?

NITROG3NN
Partner - Contributor III
Partner - Contributor III

You cant suppress it fully, but try this, reduce the size of the column and label it blank in dimension tab (use space, screenshot attached below) and you will be left with the screenshot below.

NITROG3NN_0-1611220572702.png

NITROG3NN_1-1611220689280.png

 

 

NITROG3NN
Partner - Contributor III
Partner - Contributor III

If the topic is resolved please mark the right answer.