Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Everyone,
With below expression im not getting distinct year, how to avoid duplicate years while loading script
Any suggestion or modifications on below expression
=Date(Mid([MTRC_FCT_DT],1,8),'YYYY') as Year
Best Regards,
Niranjan
Hi,
If you are getting year from Date field
=Year(YearStart(Date(Mid([MTRC_FCT_DT],1,8)))) as Year
Regards,
jagan.
load *
Distinct([MTRC_FCT_DT]) as newyear
Hi,
If you are getting year from Date field
=Year(YearStart(Date(Mid([MTRC_FCT_DT],1,8)))) as Year
Regards,
jagan.
Try like this :
makedate(Mid([MTRC_FCT_DT],1,8)) as Year
Share your qvw, it would easy for us to help.
=Year(Yearstart(Year),1,4) as Year try this one
Use Year function to extract Year from Date.
May be,
need group by
Share your .qvw to resolve it
What it is contain [MTRC_FCT_DT]??
Is this field contains Date only??
In list box to taken the distint values only