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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Purushothaman
Partner - Creator III
Partner - Creator III

Max of Year Quarter Base

Hi Experts,

How to get the Max of the   Year Quarter Base  for this Data Type. 

 

Purushothaman_0-1658297281247.png

 

Anyone, Please help!!

Thank you!!

3 Solutions

Accepted Solutions
justISO
Specialist
Specialist

Hi, it depends on structure of this [Year Quarter Base] field structure, how it is made, is combination of multiple fields or just string. If string, maybe this solution can be used to present max dimension:

=if( Num(KeepChar([Year Quarter Base],'0123456789'))=max(total Num(KeepChar([Year Quarter Base],'0123456789'))), [Year Quarter Base])

View solution in original post

Mark_Little
Luminary
Luminary

Hi.

Probably something like 

SUM(AGGR(MAX(Value),[Year Quarter Base])).

Value being the field you want the max from

View solution in original post

Purushothaman
Partner - Creator III
Partner - Creator III
Author

3 Replies
justISO
Specialist
Specialist

Hi, it depends on structure of this [Year Quarter Base] field structure, how it is made, is combination of multiple fields or just string. If string, maybe this solution can be used to present max dimension:

=if( Num(KeepChar([Year Quarter Base],'0123456789'))=max(total Num(KeepChar([Year Quarter Base],'0123456789'))), [Year Quarter Base])

Mark_Little
Luminary
Luminary

Hi.

Probably something like 

SUM(AGGR(MAX(Value),[Year Quarter Base])).

Value being the field you want the max from

Purushothaman
Partner - Creator III
Partner - Creator III
Author

Max String