Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Total Mode

Hi

I have managed to get the the answer that I want by using the F(x)=min in the Total Mode section of the expressions tab for graphs. I now only want to display this value for each of the portfolios in my first dimension. My first dimension is portfolio name, my second dimension is FromDate, and my thrid dimension is AsOfDate. This allows me to calculate cumulatives returns for each portfolios by doing this for every date combination. I then just look for the minimum value as my maximum drawdown.

Is there anyway to suppress anything except that value, or an alternative way of getting to the same answer?

Any help would be appreciated.

Thanks.

Joao.

1 Solution

Accepted Solutions
whiteline
Master II
Master II

Maybe,

=min(aggr(Sum(x), portfolio, FromDate, AsOfDate))

Of course, you should use it with one dimension portfolio.

I also assumed that you've calculated your value for each portfolio, FromDate and AsOfDate with simple Sum(x).

Replace it with your ecpression.

View solution in original post

2 Replies
whiteline
Master II
Master II

Maybe,

=min(aggr(Sum(x), portfolio, FromDate, AsOfDate))

Of course, you should use it with one dimension portfolio.

I also assumed that you've calculated your value for each portfolio, FromDate and AsOfDate with simple Sum(x).

Replace it with your ecpression.

Anonymous
Not applicable
Author

Works brilliantly. Thank you so much.

Sent from my iPad