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

How to group a field in Qlikview expressions?

Hi All,

Please help me in this Issue. Your help is most appreciated. 

 

i have fields like CLINENO,CNUMBER,CLINENUMBER , Now i want to group them with expression. 

if i select one value in  CNUMBER  i am getting two values for CLINENUMBER 

but i want only 1 CLINENUMBER  must be selected in the chart. 

 see the below example.

CNUMBERCLINENUMBER          CLINENO
080912182206980912182206911
 80912182206922
   
080912182207580912182207566
 80912182207577
 8091218220751212

 

so if i select  CNUMBER  0809121822069 , then i want get displayed with this CLINENUMBER  8091218220692

The same here also CNUMBER 0809121822075 and expected is CLINENUMBER  80912182207512.

It should be displayed Based on Max CLINENO. 

 

3 Replies
sunny_talwar

May be try this

Dimension

CNUMBER

Expression

FirstSortedValue(CLINENUMBER, -CLINENO)
nivas30kumar
Contributor
Contributor
Author

Hey Sorry that is not working with my condition.

Can some one please help me on this 

sunny_talwar

Sure thing!! Would you be able to share a sample where we can see this not working with your conditions?