Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
ndeeleysww
Creator
Creator

Remove rows from Pivot Table

Hi all,

I'm creating a pivot table and need to remove some rows from the table. For example, in my data I have many types of cost header - such as Labour, Equipment, Materials. If I want to show just the Labour and Equipment, how do I not show the Materials rows, or any rows underneath if I add to the pivot?

I don't want to remove the data I don't need on load as I'd like to reference it later in the app, but if it is possible to hide this data with an expression then that would be a great help.

Thanks

Neil

1 Solution

Accepted Solutions
ndeeleysww
Creator
Creator
Author

Sorry - dim of me! I used the match function to hide the rows:

if(match(CostHeader, 'LABOUR', 'EQUIPMENT'), CostHeader)

View solution in original post

5 Replies
ndeeleysww
Creator
Creator
Author

Sorry - dim of me! I used the match function to hide the rows:

if(match(CostHeader, 'LABOUR', 'EQUIPMENT'), CostHeader)

sunny_talwar

I am guessing that cost header would be your dimension and if that's true you can use calculated dimension:

If(Match([cost header], 'Labour', 'Equipment'), [cost header]) and then you can Suppress the Null Values for this dimension.

Best,

Sunny

sunny_talwar

Is the issue resolved then?

ndeeleysww
Creator
Creator
Author

Yes - finally figured that one out! Thanks for your reply.

sunny_talwar

No Problem! I am glad that you got what you needed.

Best,

Sunny