Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Not applicable

Exclude high value

Hi,

I calculate the Sum of AantalEenhedenBinnen per Time frame and show this in a line graph.

Since there is one day within a certain time frame the Sum of  AantalEenhedenBinnen is that high, I want to exclude this particular Date,Timeframe in my graph.

Because this particular time frame doesn’t represent normal business.

With =MaxString({$}(Aggr(Sum(AantalEenhedenBinnen),Date,Timeframe)))  i can figure out what is the value I want to exclude.

But what I actually need to know is which Date,Time frame generated this high value in order to exclude the results of this Date,Timeframe in my graph.


Regards

Ron

Tags (3)
1 Solution

Accepted Solutions
MVP
MVP

Re: Exclude high value

Try like:

FirstSortedValue( Date, -Aggr(Sum(AantalEenhedenBinnen),Date,Timeframe) )

to get the Date.

2 Replies
MVP
MVP

Re: Exclude high value

Try like:

FirstSortedValue( Date, -Aggr(Sum(AantalEenhedenBinnen),Date,Timeframe) )

to get the Date.

Not applicable

Re: Exclude high value

Hi Tresesco,

Thanks for the quick and correct response.

This was exactly what I was looking for.

Regards

Ron

Community Browser