I need to create a time difference column in my report. Actually, I have to create an attribute called 'Out Of Compliance'. The formula for this is
(Claim Received Date - Claim Paid Date) > 60.
I have created the derived attribute for Claim Received Date and Claim Paid Date by giving the expression.
Year(([DAY_SHORT_NAME] - Year([DAY_SHORT_NAME]))).
But I am not able to create attribute difference and I get error message when I enter the number 60 and validate it.
One of the points is the claim received date and claim paid date are attribute roles and not actual attributes and hence when I use the Applysimple function, I am not able to choose them as columns since it is not available in the database. And, since these date attributes are created from Date field of Day Dimension Table, I could not either create a metric.
Any idea on how to accomplish this.
Thanks
Teccum.