Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Not applicable

Remove rows using Calculated Dimension

Hello!

Could you please help me on how to remove rows in this (below) Pivot Table using a Calculated Dimension?

1.PNG

I want to remove GMM East and GMM West in Section 1, vice versa in Section 2, so the output will be like this (below) table:

2.PNG

GMMAREA is a data column from table file, while GMM1 and GMM are Inline loaded table. Attached is my script in .txt format.

Thank you!

1 Solution

Accepted Solutions

Re: Remove rows using Calculated Dimension

May be like this:

Replace GMMAREA with this:

If(GMM = 'Section 1', If(WildMatch(GMMAREA, '*South', '*North'), GMMAREA),

If(GMM = 'Section 2', If(WildMatch(GMMAREA, '*East', '*West'), GMMAREA)))

View solution in original post

2 Replies

Re: Remove rows using Calculated Dimension

May be like this:

Replace GMMAREA with this:

If(GMM = 'Section 1', If(WildMatch(GMMAREA, '*South', '*North'), GMMAREA),

If(GMM = 'Section 2', If(WildMatch(GMMAREA, '*East', '*West'), GMMAREA)))

View solution in original post

Not applicable

Re: Remove rows using Calculated Dimension

This works. I checked Supress Null Values/Missing Values to exclude blank cells. Thanks!