Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

spinchuk
New Contributor III

Limit Dimension to one possible value

Guys, is there a way to arbitrarily limit dimension in pivot table to only one value? Does not matter which one, but need to display only one.

Pivot.GIF.gif

The desired outcome would be removing Mary (or Jim) from the pivot:

Contract     Manager     Value

123               Jim              50

As alternative, is it possible to combine Jim and Mary into one sell?

Thank you!

Tags (3)
1 Solution

Accepted Solutions

Re: Limit Dimension to one possible value

To use it as a Calc Dimension, just wrap in aggr() using the dimension(s) to the left in the chart:

=aggr(Concat(Manager, ','), Contract)

-Rob

3 Replies

Re: Limit Dimension to one possible value

=concat(Manager, ',')

will combine into one.

=MinString(Manager)

will pick the first one.

-Rob

spinchuk
New Contributor III

Re: Limit Dimension to one possible value

Rob, thank you for reply. Is it possible to implement this as calculated dimension? As the "Manager" being the calculated dimension.

Re: Limit Dimension to one possible value

To use it as a Calc Dimension, just wrap in aggr() using the dimension(s) to the left in the chart:

=aggr(Concat(Manager, ','), Contract)

-Rob

Community Browser