Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
saichawan
Contributor III
Contributor III

Need to calculate rate of sale

Hi

I need to calculate rate of sale for rolling and ytd period. rate of sale is the number of units sold per week.

ros=retail_quantity/count(distinct week)

='Current Year:' & Num(Sum({<[Trading Week End Date] = {'$(=Year(Today()))'}>} RTL_QTY)/Count(DISTINCT( week)), '##.00')
&
' Last Year:' & Num(Sum({<[Trading Week End Date] = {'$(=Year(Today())-1)'}>} RTL_QTY)/Count(DISTINCT( week)), '##.00')

 

I'm trying this formula, but it is not working out. Can you please help me out on this

 

Thanks

Sai

2 Replies
Taoufiq_Zarra

Hi,

just a remark, can you confirm that,

in the formula:
[Trading Week End Date] = {'$(=Year(Today()))'}

do you compare years?
[Trading Week End Date] is it a year? not a full date?

 

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
saichawan
Contributor III
Contributor III
Author

it is a year, attaching you the data for your refrence