Forum Discussion
Anonymous
3 years agoNot applicable
Calculate Sales from start date
Need to calculate sales of a shop from start date of a shop. I have 2 tables : Sales and Date In Sales table I have information about volume of sales. In Date table I have shop start date. I have...
- 3 years ago
Try this once,
CALCULATE(SUM([Sales]), ALL(Tablename), [Startdate]>=MIN([Startdate]))
devanshi
Helper V
3 years agoTry this once,
CALCULATE(SUM([Sales]), ALL(Tablename), [Startdate]>=MIN([Startdate]))
Anonymous
3 years agoNot applicable
Any other way?
- devanshi3 years ago
Helper V
If you have ID of shop or sales you can try this:
Total Sales = CALCULATE(SUM([Sales]) ,
FILTER('Tablename', [SalesID] = SELECTEDVALUE([SalesID]) &&
[StartDate] = MIN[StartDate] )
)