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: 
lblazfer
Contributor
Contributor

Showing only the lowest dimension values

Hi all!

I'm trying to implement something in my pivot table, so when one expands a dimension the pivot table only shows the lowest dimension values as follows:

Before expanding dimension "Year"

lblazfer_0-1675078228696.png

After expanding the dimension "Year"

lblazfer_1-1675078321272.png

 

Is it possible to do this??

Labels (1)
2 Replies
rui24
Creator
Creator

Hello Lblazfer

This expression only show Field1 with the lowest value in Field2 :

FirstSortedValue (Field1, Field2)

This will show Field1 with the second lowest value for Field2:

FirstSortedValue (Field1, Field2, 2)

 

Try to do some logic to resolve your problem, maybe this is useful

Anna_Canepa
Contributor
Contributor

Hello Lblafzer

you can try with RowNo()

Example;

Load * inline

[Year,Country,quantity,

2014,Italy,5,

2014, Germany,25

etc]

and define the measure    if(RowNo()>0,sum(quantity))

I hope it helps.