Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
gauthamchilled
Creator
Creator

How to do this?

Country  States           Rate

India      Delhi              5%

India       Mumbai          10%

India       Kerala               3%

To something like below in a pivot or straight table

India            Rate

  Delhi           5%

  Mumbai       10%

   Kerala          3%

19 Replies
MK_QSL
MVP
MVP

What is the Logic behind this? Please explain...

Otherwise you can take States as Dimension and use label as Country or India

datanibbler
Champion
Champion

Hi,

it would be helpful if you could elaborate a bit on what is this "this" which you're trying to achieve. That set of figures you have in your post could be interpreted in many ways ...

HTH

alexandros17
Partner - Champion III
Partner - Champion III

Take a look at this

gauthamchilled
Creator
Creator
Author

Just wanted to change the header grouping from left side to top. Don't know how to say..its like

Country  States           Rate

India      Delhi              5%

India       Mumbai          10%

India       Kerala               3%

Australia   Sydney           8%

Australia   Canberra         4%

Australia     Perth              2%

I want something like the grouping below either in straight or pivot table.

Country     Rate

India

  Delhi           5%

  Mumbai       10%

   Kerala          3%

Australia       

   Sydney           8%

   Canberra         4%

    Perth              2%

MK_QSL
MVP
MVP

Create a Pivot Table

Dimension

Country

State

Expression whatever you want!

struniger
Creator
Creator

How about removing the country dimension, then naming the States dimension something like =only(Country)

Now when you select a Country from a list box you'll get your format.

ankitbisht01
Creator
Creator

If i am getting your requirements right it is like that , you want to see all the state under  country India ?

if this is the req. it is very to easy to make in pivot table.

PFA

Regards,

Ankit

Not applicable

Use pivot with Charts

gauthamchilled
Creator
Creator
Author

Anikit,

the one which you did is not my requirement...check my query above. yours is just normal pivot table with existing field name.