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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

need help,reducing the columns to get a clean single line graph.

Hi all,

Can someone help me with the following issue please???????????????????

as attached in the file,I have a table with 3 columns and the same represented in the form of a line graph.

Now I want to reduce this table into just 2 columns keeping my strike_price1 as a dimention and the net as an expression so that I get a single curved line in my graph.

Please can anyone help me out with this??????

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try this expression:

=Sum(Aggr(sum({<xoptiontype_,buy_sell,strike_price>}(Nominal_Quantity))* $(voption) ,strike_price1,strike_price))

View solution in original post

3 Replies
tresesco
MVP
MVP

Try this expression:

=Sum(Aggr(sum({<xoptiontype_,buy_sell,strike_price>}(Nominal_Quantity))* $(voption) ,strike_price1,strike_price))

SergeyMak
Partner Ambassador
Partner Ambassador

Try this expression

Sum(AGGR(sum({<strike_price,xoptiontype_,buy_sell>}(Nominal_Quantity))* $(voption),strike_price,strike_price1))

and strike_price1 as dimension

Regards,
Sergey
Not applicable
Author

Thankyou all.