Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 maternmi
		
			maternmi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello everybody,
I would like to get the Reason for change no. of the last (change) date. Below you can see the table

I've tried
= num(max({<Day>} Reason for change no.))
But it doesn't works
Can somebody help me?
Thank you in advance!
Best regards,
Michael
 
					
				
		
 
					
				
		
in expression try this
FirstSortedValue([Reason for change no],-Day)
 
					
				
		
try this
if(num(Day)=max(num(Day)),[Reason for change no.])
 
					
				
		
 saumyashah90
		
			saumyashah90
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		This will get you max date value->
FirstSortedValue([ReasonForChange],-Day)
and This will get you min date value
FirstSortedValue([ReasonForChange],Day)
