Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
hari8088
Creator
Creator

Pivot table total header names

Hi All,

I have an issue with pivot table total headers.

Currently i have a povit table with 2 dimension and 3 expression,

I have a requirement where i should drag second dimension into vertical as shown below .

Hear the problem is Total for each year should show for particular year.For example

year 2018 total should be :2018 total


Expected output should be like below


Here are the Sample qvw and expected output files.

stalwar1

stevedark

theresaa

15 Replies
sunny_talwar

Unfortunately, I don't think that this would be possible

passionate
Specialist
Specialist

Hi Hari,

PFA

Cheers,

Pankaj

sunny_talwar

But this is showing the same year for both sub-totals... I think the OP wants this

Capture.PNG

passionate
Specialist
Specialist

yes, you are correct

sunny_talwar

Check to see if the attached approach works for you

Capture.PNG

Anil_Babu_Samineni

Only may be missed - Suppress for that Match() condition which second dim?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
hari8088
Creator
Creator
Author

Hi Sunny,

The approach is not working for me.In my case i have to give 3 expressions.Since i have different expressions like annual calculation for max year as well.

In pivot out put total is showing 2 times but it should not.

In case the output does not possible at least if we can get only single total.That would be helpful.

Thanks..

hari8088
Creator
Creator
Author

Hi Pankaj,

Thanks for your replay.......

The condition is not working in this case.

sunny_talwar

Not sure what you mean?