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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
vikasshana
Creator III
Creator III

calculated dimension in the front end

Hi,

I've the below data

Year Month PeriodID

2024 Jan 202401

2024 Feb 202402

2024 Mar 202403

2024 Dec 202412

2025 Jun 202506

2025 Jul 202507

I'm looking for a calculated dimension in the front end where it has to take Max Year and Max month of that year, expecting below value in calculated dimension in the front end 

Jul 2025

Regards,

V

1 Solution

Accepted Solutions
savioricardog
Contributor III
Contributor III

Hi @vikasshana 
Try this "=MaxString({< PeriodID = {"$(=Max(PeriodID))"} >} TOTAL Month) &' '& MaxString( {< PeriodID = {"$(=Maxstring(PeriodID))"} >} TOTAL Year)" in a dimension column and check if it works (here it works haha)

 

Captura de tela 2025-08-11 100800.png

View solution in original post

3 Replies
savioricardog
Contributor III
Contributor III

Hi @vikasshana 
Try this "=MaxString({< PeriodID = {"$(=Max(PeriodID))"} >} TOTAL Month) &' '& MaxString( {< PeriodID = {"$(=Maxstring(PeriodID))"} >} TOTAL Year)" in a dimension column and check if it works (here it works haha)

 

Captura de tela 2025-08-11 100800.png

vikasshana
Creator III
Creator III
Author

This works perfect..!!! thanks for helping.

BrunPierre
Partner - Master II
Partner - Master II

You could try this

Date(Date#(Max(Aggr(Only(PeriodID), Year, Month)),'YYYYMM'),'MMM YYYY')