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

Show N records in pivot table

Hello,

I would like to know how to show for example 3 records in a table based on a value selected in a filter.

For example if i select a month/year 01/2014 i would like to display in pivot table records for 01/2014, 02/2014 and 03/2014.

Thank you very much for your answer,

Regards,

P.L.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Check the attached file. see if it helps.

View solution in original post

7 Replies
Anonymous
Not applicable
Author

Would you be able to attache some sample data?

Thanks,

Not applicable
Author

Hello Sir,

Thank you for your quick answer.

In attach to my first post, a brief example of what i want. (example with month April)

Thank you,

Regards

Anonymous
Not applicable
Author

Check the attached file. see if it helps.

ramoncova06
Specialist III
Specialist III

they are couple of options to achieve this

check this thread Customers Having Top 4 Values

thanks

Not applicable
Author

Hi,

I calculated next_month in script and used in the expression:

sum({<month=, number={">=$(=Only(number))<=$(=Only(next_number))"}>} Value)

DisplayinNMonths.JPG

Not applicable
Author

Hello Amarbogam,

Thanks again for your prompt reply.

This perfectly meets my need.

Thanks a lot,

Regrads

Not applicable
Author

Hello Ersen,

This also works great for me...

Thanks a lot for your help,

Regards,