Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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
Highlighted

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
Highlighted

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

Highlighted
Not applicable

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