Forum Discussion
Target Setting vs last year
Good Morning
I am looking for help in setting target number based on period filter with value of last year, below is my scenerio
I select date from 1st sep to 30th sep
i got 2 values day by day - current year sales and last year sales
lets say last year total sep is 10,000 &
current year so for MTD(19 days) is 6,000
now my target is 4,000 for next 11 days
i want daynamic formula how this could be fixed in per day.
also i would like to clear based on my period selected the value should be changing.
thanks in advance.
Hi,
I think a bracket is missing. Try this
=-[Sales Diff]/((EOMONTH(TODAY(),0)-TODAY())+1)
34 Replies
- AnonymousNot applicable
Not sure about data model. Assuming a usual data model, somthing like this below will help you.
CALCULATE( SUM(Sales_Fact[Sales]),SAMEPERIODLASTYEAR('Date'[Date])) - SUM(Sales_Fact[Sales])Share some sample data, details about your model for more specific solution.
Thanks
Raj
- Arif270182Helper II
Thats the table as you can see negative value is what i need to break in rest of the days
- AnonymousNot applicable
You already have current and last year sales. so, simple SUM( sales[CYSales]) - SUM( Sales[LYSales]) should give you the expected result.
Thanks
Raj