Forum Discussion
Get Daily sum
- Anonymous4 years ago
Hi Anonymous ,
You could create a measure like below.
measure = calculate(sum(sales[sales]),filter(allselected('sales'),'sales'[date]=selectedvalue('date'[date])))
Best Regards,
Jay
Hi Anonymous ,
Are you using date and sales from same table or different?
Thanks,
Samarth
HI! From different tables. Date from calander table and sales from sales table. I joined them based on the date.
- Anonymous4 years agoNot applicable
I summarized using 'sum' in the table view insdead of calculated measure, and still getting the same results, which is wrong. Thanks!
- PaulDBrown4 years agoCommunity Champion
Are both the date fields in the Calendar table and sales table set to type date (not date/time)?
Is the relationship between the Calendar table and the sales table set to single direction and One-To-Many?
- Anonymous4 years agoNot applicable
Yes and yes. Still wrong results. Thanks!