Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 mattphillip
		
			mattphillip
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hoping someone can help with this. I've included a small dummy table to illustrate what I'm trying to accomplish. The actual table has many thousands of rows and a wider date range. Essentially, I've been asked to enhance our current weekly report to flag where an applicant's offer status (OfferStatus field) has changed. I've tried both the peek function in the load script and the above function as part of an expression along with the aggr function in a chart but with limited success. Neither method is allowing me to compare the offer stats by applicant, rather its simply comparing them in a linear fashion as the rows appear in the table.
Does anyone have any ideas as to whether this is possible? (comparing the offer status by applicant to produce a expression value)
Any help would be most appreciated.
Thanks,
Matt
| Applicant ID | Date | Programme | Stage | OfferStatus | Changed? (Y/N) | 
| AP01 | 12/10/2017 | Law | 1 | Conditional | |
| AP02 | 05/09/2017 | Accounting | 2 | Decline | |
| AP01 | 20/10/2017 | Law | 1 | Conditional-Insurance | |
| AP03 | 07/10/2017 | Art & Design | 3 | Unconditional | |
| AP02 | 10/09/2017 | Accounting | 1 | Conditional | |
| AP03 | 16/10/2017 | Art & Design | 3 | No Response | |
| AP02 | 02/10/2017 | Accounting | 1 | Conditional-Firm | |
| AP04 | 19/10/2017 | Counselling | 1 | Unconditional | |
| AP05 | 18/10/2017 | Artchitecture | 2 | Decline | 
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		It would be difficulty to know without seeing... but may be you need to fix your Order By Statement for the other dimensional fields you have in you actual data set?
 mattphillip
		
			mattphillip
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thanks Sunny. I'll try that.
