Forum Discussion
Target Setting vs last year
- 7 years ago
Hi,
I think a bracket is missing. Try this
=-[Sales Diff]/((EOMONTH(TODAY(),0)-TODAY())+1)
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
Thats the table as you can see negative value is what i need to break in rest of the days
- Anonymous7 years agoNot 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
- Arif2701827 years agoHelper II
yeah i have already that value which is Sales Difference my point is i want to break that 2,294,091 divide by rest of days based on filtered date.
- Anonymous7 years agoNot applicable
Do you want to divide the difference by the remaining days in sep and display under CY sales column? can you please explain... also can you put the expected result in table format for better understanding?
Thanks
Raj