Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 arunqlik2view
		
			arunqlik2view
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello All,
Please help me with the syntax for Trailing Quarter for past 90 days from today().
I'm trying to have a chart with 2 measures
1. Sum (Actual_Revenue)
2. Sum (Predicted_Revenue)
These two Measure should data only for last 90 days from Today.
the dimension for Date is "Date1"
Thanks in Advance,
Arun
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		May be try set analysis or a calculated dimension like this
If(Date1 >= Today() - 90, Date1)
and make sure to select 'Suppress When Value Is Null' on the dimension tab for the above dimension
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		1) Use this may be
If(Date1 >= Today() - 90, 'Trailing Quarter')
2) Difficult to say without seeing a sample
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		May be try set analysis or a calculated dimension like this
If(Date1 >= Today() - 90, Date1)
and make sure to select 'Suppress When Value Is Null' on the dimension tab for the above dimension
 arunqlik2view
		
			arunqlik2view
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi Sunny,
Thanks for the Quick reply. I got the chart, but I got them as individual bars for each day in the last 90 days.
Thank you,
Arun
 
 sunny_talwar
		
			sunny_talwar
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		1) Use this may be
If(Date1 >= Today() - 90, 'Trailing Quarter')
2) Difficult to say without seeing a sample
 arunqlik2view
		
			arunqlik2view
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		@ 2) Difficult to say without seeing a sample .
Here is the data I use and out put i get for last 90 days after using "=If(Date1 >= Today() - 90, Date1)" syntax.
Kindly take a look and let me know what Am I doing wrong.
Thanks,
Arun
 arunqlik2view
		
			arunqlik2view
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		data file
 purna
		
			purna
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello Sunny
Can you please give me the expression for last 60days sales value using addmonth
I have oct,nov,dec sales
Expression Given:
=sum({<Month={"$(=addmonth(max(Month)-2))>=$(addmonth(max(Month)))"}>}Sales)
Result:
But throwing the result same as sum(sales),but i want only last 60 days value, please help me in this
Thanks in advance
Purna.
