Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 byrnel0586
		
			byrnel0586
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
I am wanting to concatenate multiple 'MRP D/C Dates' into one cell in order to only have 1 row per member in my pivot table. In my example there are only 2 dates, but there can be more than that. I have tried creating variables and combining those but that gives me errors in my calculated dimension. For instance, in the below example I would like to see '11/28/2016, 3/29/3016' in one row rather than it creating 2.

Any help is appreciated!
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		My bad, replace and with a comma
Aggr(Concat(DISTINCT {<MeasureID = {'MRP'}, Gap = {'>0'}>} EVENT_DATE, ','), MEM_ID)
 vhespinog
		
			vhespinog
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello
Maybe
load
Concat(MRP D/C Dates,' ') as MRP D/C Dates
Resident Table;
 maxgro
		
			maxgro
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		did you try with the concat function?
concat(yourdatefield, ',')
 
					
				
		
 vishsaggi
		
			vishsaggi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		= Concat('MRP D/C Dates', ',')
 byrnel0586
		
			byrnel0586
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I have tried that and am getting "// Error in calculated dimension."
 byrnel0586
		
			byrnel0586
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I have tried that and am getting "// Error in calculated dimension."
 
					
				
		
 vishsaggi
		
			vishsaggi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Can you paste your calculated dim expression here you are using?
 byrnel0586
		
			byrnel0586
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Sure. Here is a screenshot actually.

 
					
				
		
 vishsaggi
		
			vishsaggi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Can you try like:
= Aggr(Concat(DISTINCT EVENT_DATE, ','), EVENT_DATE)
 byrnel0586
		
			byrnel0586
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thank you. I think I am getting there. I tried Aggr(Concat(DISTINCT EVENT_DATE, ','), MEM_ID) and that concatenated all of the event dates as it should. However, I am only needing to concatenate event dates where MeasureID = 'MRP' and Gap >0. I tried =if(match(MeasureID, 'MRP_MRP') and Gap > 0, Aggr(Concat(DISTINCT EVENT_DATE, ','), MEM_ID)) and it did not work. Your help is appreciated!
