Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

MAX ISSUE

I have a data which includes Policynum and Module. When the policy renewes it is assigned a new mod .

for example Policynum '123456' CAN HAVE MODULES 01,02,03 and 04

I am trying to pick the latest combination of policy and module

so  for above policynum I wanna see only Policynm'123456' and module '04'.

How can I do that

19 Replies
Not applicable
Author

They are available in a string and not as seperate field values

Mark_Little
Luminary
Luminary

Hi,

That explains the problems.

Will need to brake it down down

maybe something like

SUBFIELD(Module,',', LEN(KEEPCHAR(Module,','))

Mark

Not applicable
Author

Do u have an email I can email you the screen shot cuz cant  attach on reply screen

Not applicable
Author

What do u mean break down?

hemhund2016
Creator
Creator

Hi Rehan,

If they are in string, then use it as below.

Assuming Module is as  '01, 02, 03, 04'

Dimension:   Policynum

Expression : SubField( Module,',',-1)

Thanks,

Hemanth.

nico_ilog
Partner - Creator II
Partner - Creator II

What does the source data look like?

N

Not applicable
Author

NO_Selection.PNGWith_Selection_is_Fine.PNG

Not applicable
Author

Did you get a chance to look at the screen shots I sent you

sunny_talwar

Try this:

Max(TOTAL <Policynum> module)

Not applicable
Author

TRy this in Expression?