Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

straight table

Hi,

I have  straight table like bellow

segments
values
D110
D220
D330
D440
D550

here i need to sum first four , i dont want last one how can we do ,can any one help me

Thanks,

Jyothi

5 Replies
Not applicable
Author

Hi,

Try this in expression part of staight table:

   =sum({ $< segments = E({ 1<segments={'D5'}> }) > } values )

but it will not show you the whole row of D5 segments.

Apurva

jagan
Luminary Alumni
Luminary Alumni

Hi Jyothi,

Put Segments in Dimension, and use expression

=If(RowNo() <=4, Values, Null())

and in presentation tab limit Number of rows 4.

This shows only 4 rows in the straight table.

Regards,

Jagan.

Not applicable
Author

Hi I have Used the same example of Jagan but with little modifcation.

I have use the variable and input box.

Now you can dynamically change your range as per your requirement.

Regards,

Nitin Jain

Not applicable
Author

Thanks you for you replay apurva

Thanks,

Jyothi

On Thu, Dec 8, 2011 at 11:45 AM, Apurva ... <

Not applicable
Author

Thank u so-much Jagan

R u happy

On Thu, Dec 8, 2011 at 11:56 AM, jagan mohan <