Hey FLB,
Attached is the expression in my "Rank Metric". I forgot to mention before, that my Database is SQL Server.
Please check the syntax and see if I am still doing something wrong. When I try the statement below, I still get the error "Object of (type: Attribute) not allowed in this place".
"Rank Metric" = Rank(ApplySimple( "Case When datepart(dw,(#0)) = 1 then cast ('01/01/1900' as datetime) When datepart(dw,(#0)) = 7 then cast ('01/01/1900' as datetime) Else #0 end", [Expenditure Date]@ ID))
Where "Expenditure Date" is my "Day" Attribute.
I really appreciate your help so far. If you can bail me out of this...it will be great.
Thanks,