Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
nareshthavidishetty
Creator III
Creator III

Issue in Pivot table

hi all,

please find the below screen shot, My requirement is like.

I have the data like

PIVOT_xl.PNG

i want to show these values in pivot table like  below screen shot order should be(A,B,C,D).

Pivot.PNG

But,when i am trying to do this ,it is showing like below screen shot

tpivot actual.PNG

Can you please help on these guys.

warm Regards,

Naresh

8 Replies
Qrishna
Master
Master

Try a Straight table if you dont want pivot properties.

Capture1.PNG

sinanozdemir
Specialist III
Specialist III

Maybe something like this:

Capture.PNG

I am attaching the qvw in case.

nareshthavidishetty
Creator III
Creator III
Author

Hi Sinan,

Thanks for your reply,

I am looking data like this only,but in qvw i am not able to find pivot table in front end like this.

Please provide me logic what you have done like this completely in QVW.

Capture1.PNG

Warm Regards,

Naresh

sinanozdemir
Specialist III
Specialist III

You should be able to open up my qvw which I previously attached. Although, here are the steps to get a pivot table like this:

  1. Bring the dimension A, and in the label put the below expression and also change the text color to white:

       Capture.PNG

         Capture.PNG

    2. Bring dimension B and put the below expression in the label box:

          Capture.PNG

  3. Add a calculated dimension as shown below to get the overall totals and label it as ST:

           Capture.PNG

   4. And lastly, in the expression, add the below Sum() expression and the label expression is =chr(10). After that drag the calculated        column to the top.

              Capture.PNG

Hope this helps.

nareshthavidishetty
Creator III
Creator III
Author

Tanks for you  quickresponse ,

But my data is like

 

ABCD
18/1/2015ST488
18/2/2015ST283
18/3/2015ST705
18/4/2015ST512
18/5/2015ST471
28/1/2015BT100
28/2/2015BT100
28/3/2015BT100
28/4/2015BT100
28/5/2015BT100

problem is, the Data in  'C' Column will continue Like(ST,BT,TT,MtT)

Capture3.PNG

Warm Regards,

Naresh

nareshthavidishetty
Creator III
Creator III
Author

Hi Sinan,

I am looking like this,

capture 4.PNG

Regards,

Naresh

nareshthavidishetty
Creator III
Creator III
Author

Hi sinan,

I am looking like this,Including column names(A,B,C,D)please find below screen shot.

capture 4.PNG

Warms Regards,

Naresh

sinanozdemir
Specialist III
Specialist III

This is as close as I can get:

Capture.PNG

If this is not, what you are after then you may need to create some additional dimensions in the load script.