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

This widget could not be displayed.

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expressions in Fixed Number Limitations?

Hi,

I'd like to have the fixed number limitation display the bottom 20 results where "UnitsSold" <> 0.

Unchecking "Include Zero Values" makes it return no results at the moment.

Is this possible using expressions?

Thanks,

Keiran

This widget could not be displayed.
4 Replies
vkish16161
Creator III
Creator III

Can you please explain what your requirement is more clearly with example?

This widget could not be displayed.
Not applicable
Author

Here is an example table:

ItemCode

ItemPrice

UnitsSold

TotalValue

A1

£1

0

£0

A2

£2

1

£2

A3

£5

10

£50

"ItemCode" currently has a fixed number limitation calculated on "UnitsSold" to the bottom twenty. We would like to filter out any results where UnitsSold = 0.

This widget could not be displayed.
shraddha_g
Partner - Master III
Partner - Master III

Share screenshot of expression you used and output you are getting without unchecking "Include Zero Value".

This widget could not be displayed.
vkish16161
Creator III
Creator III

Based on what I understood, you could try this.

IN A TEXT BOX,

Concat({<UnitsSold={0}>}ItemCode,',')

This will give you a list of ItemCodes where UnitsSold = 0

If this doesn't work you can try:

Concat (

Aggr (

if(Sum(UnitsSold) =0,ItemCode )

, ItemCode )

, ',')

This widget could not be displayed.