reporting services - Julian date in ssrs -
how convert below excel julian date formula formula can use in ssrs 2008 r2
=if(date(year(today()),1,a1)>today(), date(year(today())-1,1,a1)-(month(date(year(today()),2,29))=2), date(year(today()),1,a1))
well, starters, you'd have replace references a1 field reference (fields!field_name.value) placing in tablix/report equivalent of a1.
if()
in ssrs, if() iif() in start expression evaluated followed result if true , result if false. it's called iif because refers mathematical statement of if , if.
date()
in ssrs, date() dateserial() , uses same setup date() in excel, date([year],[month],[day]).
that said, believe excel formula wrong. instance, cannot use statement in true section of if formula without evaluation expression around it. i'm seeing, supposed calculate when month of 2014-02-29 = 2? on formula again , if there typos, correct them , let me know via comment. i'll come , put complete calculation.
hope helps!
Comments
Post a Comment