Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Frank_Hartmann
Master II
Master II

min(Value)

Hi QV Community,

i have the following table:

Unbenannt.png

Now i would like create a diagramm with "Date" as dimension and only showing the minimum Value of Metric for the corresponding month.

For example:

2015-01 ---> 3 and 1, so datapoint should be 4

2015-02 ---> 2 and 5, so datapoint should be 7

2015-03 ---> 3 and 0, so datapoint should be 3

Has anybody the clue how to construct the formula??

thx in advance for helping

1 Solution

Accepted Solutions
MayilVahanan

Hi

Try like this

sum(({<UseCaseRelevance={'1'}>}aggr(min({<UseCaseRelevance={'1'}>}Value), Date,Metric))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

4 Replies
swuehl
MVP
MVP

1) Use Date as Dimension

2) as Expression:

=sum( aggr( min( Value), Date,Metric))

Frank_Hartmann
Master II
Master II
Author

Thank you

Frank_Hartmann
Master II
Master II
Author

One more question:

to get to the above table i had to set some filters.

so the  sum(aggr(min( Value), Date,Metric)) is only working for the original table without setting the filters:

But i need to set one filter for "Usecaserelevance=1"

I tried like:

sum(aggr(min(sum({$<UseCaseRelevance={'1'}>}Value)), Date,Metric))

but this is not working

Any ideas?

MayilVahanan

Hi

Try like this

sum(({<UseCaseRelevance={'1'}>}aggr(min({<UseCaseRelevance={'1'}>}Value), Date,Metric))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.